Skip to content

Commit 0871448

Browse files
authored
1 parent 26ab146 commit 0871448

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

compiler/qsc_qasm/src/ast_builder.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1502,6 +1502,7 @@ fn create_unit_expr(span: Span) -> Expr {
15021502
pub(crate) fn build_end_stmt(span: Span) -> Stmt {
15031503
let message = Expr {
15041504
kind: Box::new(ExprKind::Lit(Box::new(Lit::String("end".into())))),
1505+
span,
15051506
..Default::default()
15061507
};
15071508

0 commit comments

Comments
 (0)