[all-commits] [llvm/llvm-project] ef5a11: [MLIR][Python] Fix generic class signature of ir.V...

Twice via All-commits all-commits at lists.llvm.org
Fri Feb 20 01:05:56 PST 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ef5a11a51d9e888ec8455751067712d69d5d603e
      https://github.com/llvm/llvm-project/commit/ef5a11a51d9e888ec8455751067712d69d5d603e
  Author: Twice <twice at apache.org>
  Date:   2026-02-20 (Fri, 20 Feb 2026)

  Changed paths:
    M mlir/lib/Bindings/Python/IRCore.cpp

  Log Message:
  -----------
  [MLIR][Python] Fix generic class signature of ir.Value (#182447)

In the type stub, `Generic` isn’t explicitly imported. This causes
Pyright/Pylance to report an error and treat `Value` as not being a
generic type. Explicitly using `typing.Generic` fixes this.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list