-
-
Notifications
You must be signed in to change notification settings - Fork 117
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
map insert produces duplicate keys #606
Comments
Hi @kaikalii, thanks for taking a look at this so quickly! While this specific test case now seems to work, I unfortunately found some more problems:
Output:
So again, we have a map where the number of keys and values differ and thus inserting and removing fail. Apart from that I also found a second (larger) test case which starts with a valid map and breaks it using remove and insert:
Output:
In this case the key (tested on commit 3bf1ff3) |
This should be fixed in 0fce8a1. |
@kaikalii I think I found another one. This time the program doesn't terminate at all (which unfortunately also causes the vscode extension to not respond anymore):
|
Fixed in 156d82b. |
This does not seem to happen on Uiua Pad, but at least in the native interpreter on x86_64-linux (commit 743ec31).
Example:
Output:
The text was updated successfully, but these errors were encountered: