-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
complier bug with --debug v1.2.1 #11385
Comments
I think this is related to #11384, as i get the same error when running the example from there with
EDIT: Reproduces on Linux too:
|
Yeah seems like it could be related for sure. In #11384 though you mention that your issue doesn't repo with homebrew, but for my case I was reporting this on the macos 11.6 homebrew bottle |
A file is required but in some contexts it seems to not be available so we fallback to the file to the "unknown location" used elsewhere (i.e. "??", line 1, column 1) Fixes crystal-lang#11384 Fixes crystal-lang#11385
It does not appear to reproduce with LLVM 10.
|
Is there a way to work around this in the mean time? |
Using a compiler with LLVM 10 should work. Or 13 maybe, haven't checked that yet. |
I get a similar failure: Crystal 1.2.1 [4e6c0f2] (2021-10-21) LLVM: 10.0.0 FWIW. Wait sometimes I do, sometimes I don't? |
Latest 1.2.1
A simple source
Another error with
And it was the same with |
@straight-shoota Ok but it's still present in 1.2.1. Should I open a new issue? |
With CrunchyData/bridge-cli@cafeb92
On
A normal build works fine
but adding
--debug
causes a nil assertion errorThe text was updated successfully, but these errors were encountered: