diff --git a/crates/aiken-lang/src/parser.rs b/crates/aiken-lang/src/parser.rs index 4760e0c0..2c3eed8e 100644 --- a/crates/aiken-lang/src/parser.rs +++ b/crates/aiken-lang/src/parser.rs @@ -1028,7 +1028,7 @@ pub fn expr_parser( }, ); - let assert_parser = just(Token::Expect) + let expect_parser = just(Token::Expect) .ignore_then(pattern_parser()) .then(just(Token::Colon).ignore_then(type_parser()).or_not()) .then_ignore(just(Token::Equal)) @@ -1093,7 +1093,7 @@ pub fn expr_parser( block_parser, when_parser, let_parser, - assert_parser, + expect_parser, if_parser, ));