Skip to content

Commit a53b3ca

Browse files
committed
Process duration ast first
1 parent 19978a1 commit a53b3ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_directives.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1540,8 +1540,8 @@ def _to_oqpy_expression(self):
15401540
"""
15411541
OPENQASM 3.0;
15421542
duration a1 = 100.0ns;
1543-
frame f1;
15441543
duration a2 = 100.0ns;
1544+
frame f1;
15451545
a1 = 2;
15461546
delay[a2] f1;
15471547
"""

0 commit comments

Comments
 (0)