We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6547385 commit 0b52ae9Copy full SHA for 0b52ae9
compiler/qsc_qasm3/src/parser/stmt/tests/expr_stmt.rs
@@ -117,8 +117,8 @@ fn cast_expr() {
117
parse,
118
"bit(0);",
119
&expect![[r#"
120
- Stmt [0-6]
121
- StmtKind: ExprStmt [0-6]: Expr [0-6]: Cast [0-6]:
+ Stmt [0-7]
+ StmtKind: ExprStmt [0-7]: Expr [0-6]: Cast [0-6]:
122
ClassicalType [0-3]: BitType
123
Expr [4-5]: Lit: Int(0)"#]],
124
);
@@ -130,8 +130,8 @@ fn cast_expr_with_designator() {
130
131
"bit[45](0);",
132
133
- Stmt [0-10]
134
- StmtKind: ExprStmt [0-10]: Expr [0-10]: Cast [0-10]:
+ Stmt [0-11]
+ StmtKind: ExprStmt [0-11]: Expr [0-10]: Cast [0-10]:
135
ClassicalType [0-7]: BitType [0-7]: Expr [4-6]: Lit: Int(45)
136
Expr [8-9]: Lit: Int(0)"#]],
137
0 commit comments