We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0e16e43 commit 6829892Copy full SHA for 6829892
src/bloqade/cirq_utils/emit/base.py
@@ -136,7 +136,7 @@ def main():
136
assert first_stmt is not None, "Method has no statements!"
137
if len(args_ssa) - 1 != len(args):
138
raise EmitError(
139
- f"The method {sym_name} takes {len(args_ssa)} arguments, but you passed in {len(args)} via the `args` keyword!"
+ f"The method {sym_name} takes {len(args_ssa) - 1} arguments, but you passed in {len(args)} via the `args` keyword!"
140
)
141
142
for arg, arg_ssa in zip(args, args_ssa[1:], strict=True):
0 commit comments