google / mlir-hs

Haskell bindings for MLIR
Apache License 2.0
92 stars 16 forks source link

Fix accidental shadows when an op name matches its operand name #41

Closed apaszke closed 2 years ago

apaszke commented 2 years ago

One example of that is DimOp from the shape dialect, which has a dim operand. We end up generating a dim builder method that has a dim argument, and that tends to trigger GHC warnings or errors.

apaszke commented 2 years ago

Fixed in #40.