From d5b051470154eaf71f99220cb5c08db1b60f296e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juli=C3=A1n=20Gonz=C3=A1lez=20Calder=C3=B3n?= Date: Mon, 22 Apr 2024 10:42:57 -0300 Subject: [PATCH] Fix merge error --- crates/concrete_parser/src/lib.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/crates/concrete_parser/src/lib.rs b/crates/concrete_parser/src/lib.rs index 4ff3732..7b26a7b 100644 --- a/crates/concrete_parser/src/lib.rs +++ b/crates/concrete_parser/src/lib.rs @@ -169,12 +169,14 @@ mod ModuleName { // unsafe! let bar: i32 = foo.bar; + } }"##; let lexer = Lexer::new(source); let parser = grammar::ProgramParser::new(); parser.parse(lexer).unwrap(); } + #[test] fn parse_for() { let source = r##"mod MyMod { fn hello() { @@ -203,12 +205,14 @@ mod ModuleName { fn main() -> i32 { let mut foo: Foo = Foo.Bar; + } }"##; let lexer = Lexer::new(source); let parser = grammar::ProgramParser::new(); parser.parse(lexer).unwrap(); } + #[test] fn parse_for_while() { let source = r##"mod MyMod { fn hello() {