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
Clue seems to support LuaJIT-style long integer literals (256ULL, -4LL, etc.), but parsing seems to trip up on certain arrangements of the literal. An example (newline included, works fine if EOF is immediately after ULL):
locala=2ULL
panics with:
thread 'main' panicked at core\src\scanner.rs:180:18:
index out of bounds: the len is 14 but the index is 14
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Different combinations of the lines before and after the usage produce odd results, and even LL's behavior is very different from ULL in terms of what panics or not. There seems to be no clear pattern on how the panic happens, so perhaps the method of parsing should be changed.
Here is a matrix of which arrangements error out (ones highlighted in red):
The text was updated successfully, but these errors were encountered:
Clue seems to support LuaJIT-style long integer literals (
256ULL
,-4LL
, etc.), but parsing seems to trip up on certain arrangements of the literal. An example (newline included, works fine ifEOF
is immediately after ULL):panics with:
Different combinations of the lines before and after the usage produce odd results, and even
LL
's behavior is very different fromULL
in terms of what panics or not. There seems to be no clear pattern on how the panic happens, so perhaps the method of parsing should be changed.Here is a matrix of which arrangements error out (ones highlighted in red):
The text was updated successfully, but these errors were encountered: