diff --git a/crates/reporting/src/error/parse.rs b/crates/reporting/src/error/parse.rs index 2d6baf9ef7..c989bc5b09 100644 --- a/crates/reporting/src/error/parse.rs +++ b/crates/reporting/src/error/parse.rs @@ -358,7 +358,7 @@ fn to_expr_report<'a>( Node::WhenCondition | Node::WhenBranch | Node::WhenIfGuard => ( pos, alloc.concat([ - alloc.text("an "), + alloc.text("a "), alloc.keyword("when"), alloc.text(" expression"), ]),