This commit is contained in:
Pranav Gaddamadugu 2022-08-17 16:22:13 -07:00
parent 7278a5bf39
commit 1d2cddbc7c

View File

@ -207,8 +207,13 @@ impl ParserContext<'_> {
&["assert", "assert_eq", "assert_neq"],
identifier.span,
));
(Default::default(), ConsoleFunction::Assert(Expression::Err(ErrExpression { span: Default::default() })))
},
(
Default::default(),
ConsoleFunction::Assert(Expression::Err(ErrExpression {
span: Default::default(),
})),
)
}
};
self.expect(&Token::Semicolon)?;