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
Hi, thanks for your work! There are some asserts which prevent proper error handling when using your crate. Could you please drop them or turn into debug_assert? Thanks!
let slice = &src[slice_start_index..current_index];
assert_eq!(slice, "}", "[Lexer] Invalid last char, should be '}}'");
if slice != "}" {
return Err(LexerError::InvalidLastChar);
}
The text was updated successfully, but these errors were encountered:
Hi, thanks for your work! There are some asserts which prevent proper error handling when using your crate. Could you please drop them or turn into debug_assert? Thanks!
The text was updated successfully, but these errors were encountered: