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
Error message should be "Couldn't find element -1 in vector of length 4." but instead is "Couldn't find element 1 in vector of length 4."
Note: Opening up the stacktrace in Maria gives a more accurate error message of "Error: No item -1 in vector of length 4" so, it seems that the negative sign is getting stripped/trimmed/removed somewhere.
It could potentially resolve the issue to add "%-" to the regex in tokenize, though I'm not sure what this will do to the rest of the codebase without running any tests. Here's an example where I modified the regex in tokenize: https://www.maria.cloud/gist/6e003b6e80ca0a963f5ab4e340b401f8
Error message should be "
Couldn't find element -1 in vector of length 4.
" but instead is "Couldn't find element 1 in vector of length 4.
"Note: Opening up the stacktrace in Maria gives a more accurate error message of "
Error: No item -1 in vector of length 4
" so, it seems that the negative sign is getting stripped/trimmed/removed somewhere.This issue's breadcrumbs start here I believe:
maria/friendly/src/maria/friendly/messages.cljs
Line 96 in 510a638
Minimum bug reproduction: https://www.maria.cloud/gist/be48e97150866eb979bf638bd47b5f46
Screenshot of example reproduction:
The text was updated successfully, but these errors were encountered: