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:
![image](https://private-user-images.githubusercontent.com/6962664/262153775-247897fb-8767-4682-91df-db73316825b1.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQ2NzkwODAsIm5iZiI6MTcyNDY3ODc4MCwicGF0aCI6Ii82OTYyNjY0LzI2MjE1Mzc3NS0yNDc4OTdmYi04NzY3LTQ2ODItOTFkZi1kYjczMzE2ODI1YjEucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDgyNiUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA4MjZUMTMyNjIwWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9OGUxNDU1ZmIwMjZiOTlmNmU2MGEwMDgxMzBhNGQyZWEyMDVmNjkxYWJmYWI4ZGRmODZmZjM5YmJlYjY1NjdhMSZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.5PUl9-idYQizU-8ArQgRzTQLsf7W4m2hkXCd9rGAZQU)
The text was updated successfully, but these errors were encountered: