Skip to content

Commit

Permalink
fix: Fix invalid result operation name (#367)
Browse files Browse the repository at this point in the history
  • Loading branch information
aborgna-q authored Aug 8, 2024
1 parent 7d5106c commit 568624d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions guppylang/compiler/expr_compiler.py
Original file line number Diff line number Diff line change
Expand Up @@ -302,8 +302,8 @@ def visit_ResultExpr(self, node: ResultExpr) -> OutPortV:
ConstArg(ConstValue(value=node.tag, ty=NumericType(NumericType.Kind.Nat))),
]
op = ops.CustomOp(
extension="tket2.results",
name="Result",
extension="tket2.result",
name="result_uint",
args=[arg.to_hugr() for arg in type_args],
parent=UNDEFINED,
)
Expand Down

0 comments on commit 568624d

Please sign in to comment.