Skip to content

Commit

Permalink
Fix merge error
Browse files Browse the repository at this point in the history
  • Loading branch information
JulianGCalderon committed Apr 22, 2024
1 parent 6aefbe3 commit d5b0514
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions crates/concrete_parser/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down Expand Up @@ -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() {
Expand Down

0 comments on commit d5b0514

Please sign in to comment.