Skip to content
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

Repl crashes on type of Map #1457

Open
Gavinok opened this issue Feb 4, 2023 · 0 comments
Open

Repl crashes on type of Map #1457

Gavinok opened this issue Feb 4, 2023 · 0 comments

Comments

@Gavinok
Copy link

Gavinok commented Feb 4, 2023

Steps to reproduce

> :t { @"test" 1}
carp: Too many variables with the same name in set: [(ProperDel String.delete  "_0"),(RefDel "_0")]
CallStack (from HasCallStack):
  error, called at src/Memory.hs:513:24 in CarpHask-0.5.5.0-26qeejnxq0n51adeaHleRy:Memory

Process inf-carp exited abnormally with code 1

Seems to only happen with copys. I haven't looked to deep but :t { 1 @&1} also seems to cause a similar error

> :t { 1 @&1}
carp: Too many variables with the same name in set: [(ProperDel Pair.delete__int_int  "_0"),(PrimDel "_0")]
CallStack (from HasCallStack):
  error, called at src/Memory.hs:513:24 in CarpHask-0.5.5.0-26qeejnxq0n51adeaHleRy:Memory
@Gavinok Gavinok changed the title Repl crashes on type of mapp Repl crashes on type of Map Feb 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants