-
-
Notifications
You must be signed in to change notification settings - Fork 49
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
Compiler crash on ::alias/kw
#619
Comments
Can you provide more information on how you ran into this problem, with the console REPL or the online playground? I do see why that might be the case there. In the normal command line compiler process it should already work I think. |
As a user I generally associate compiler crashes with something the compiler is doing wrong and not something that I am doing wrong so I'd like alias resolution errors to be caught and communicated as an error from the compiler (i.e. my code is at fault) and not from edamame (i.e. compiler isn't working). I ran into this while trying to get an existing project working purely in compiled mode. When writing up this ticket I used the online repl to try to get a reduced test case and the online playground crashes with the code at the top. So when I wrote up the ticket I thought namespaced keywords were generally broken.
The specific code that triggered the problem for me was |
I'm still not 100% sure what you want me to do with this issue now. |
version
main branch a483222
problem
Crashes the compiler with the error:
expected behavior
I'm kind of surprised that name resolution is happening in
#_
forms but crashing on the::alias/kw
is the main issue. I can tell it's an edamame error but I'm filing it here in case the issue is a configuration option. I tried turning on auto-resolve in the squint-options and that didn't fix things so I decided to just report it.The text was updated successfully, but these errors were encountered: