Skip to content

Commit

Permalink
Update xdsl/dialects/arith.py
Browse files Browse the repository at this point in the history
Co-authored-by: Sasha Lopoukhine <[email protected]>
  • Loading branch information
alexarice and superlopuh authored Oct 25, 2024
1 parent c5233b2 commit 0ba5738
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xdsl/dialects/arith.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ def __init__(self, flags: None | Sequence[IntegerOverflowFlag] | Literal["none"]
@irdl_op_definition
class Constant(IRDLOperation):
name = "arith.constant"
_T: ClassVar[AttrConstraint] = VarConstraint("T", AnyAttr())
_T: ClassVar = VarConstraint("T", AnyAttr())
result = result_def(_T)
value = prop_def(
WithTypeConstraint(
Expand Down

0 comments on commit 0ba5738

Please sign in to comment.