You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fn check_file(path: &str) {
let Ok(data) = fs::read_to_string(path) else {
return;
};
let r = full_moon::parse_fallible(&data, full_moon::LuaVersion::new());
if r.errors().len() > 0 {
println!("Error: {:?}", r.errors());
}
}
crashes
thread 'main' panicked at /home/runner/.cargo/git/checkouts/full-moon-00d3a4faa692bd3d/ef8564e/full-moon/src/ast/parsers.rs:2371:53:
called `Result::unwrap()` on an `Err` value: ()
thread 'main' panicked at /home/runner/.cargo/git/checkouts/full-moon-00d3a4faa692bd3d/ef8564e/full-moon/src/ast/parsers.rs:1701:26:
internal error: entered unreachable code: unexpected interpolated string kind: End
thread 'main' panicked at /home/runner/.cargo/git/checkouts/full-moon-00d3a4faa692bd3d/ef8564e/full-moon/src/ast/parsers.rs:2666:49:
called `Result::unwrap()` on an `Err` value: ()
thread 'main' panicked at /home/runner/.cargo/git/checkouts/full-moon-00d3a4faa692bd3d/ef8564e/full-moon/src/ast/parsers.rs:2646:41:
called `Result::unwrap()` on an `Err` value: ()
thread 'main' panicked at /home/runner/.cargo/git/checkouts/full-moon-00d3a4faa692bd3d/ef8564e/full-moon/src/ast/parsers.rs:2589:41:
called `Result::unwrap()` on an `Err` value: ()
thread 'main' panicked at /home/runner/.cargo/git/checkouts/full-moon-00d3a4faa692bd3d/ef8564e/full-moon/src/ast/parsers.rs:2611:41:
called `Result::unwrap()` on an `Err` value: ()
thread 'main' panicked at /home/runner/.cargo/git/checkouts/full-moon-00d3a4faa692bd3d/ef8564e/full-moon/src/ast/parsers.rs:2568:41:
called `Result::unwrap()` on an `Err` value: ()
Code
crashes
REPORTS___FULL_MOON___SHORT_1.zip
The text was updated successfully, but these errors were encountered: