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

Compiler :add more locations #5595

Closed
wants to merge 1 commit into from
Closed

Compiler :add more locations #5595

wants to merge 1 commit into from

Conversation

asterite
Copy link
Member

Fixes #5593

This adds more missing locations, plus on the codegen phase it sets the location to the current node if the node has a location.

In theory all nodes should have a location. I tried to fix most of them but many are still missing (but they can be done later). One easy way to check this is to puts a pp node in here and slowly fix those cases (but I don't have time for that now).

@asterite
Copy link
Member Author

Nevermind, this seems wrong. I guess the best way to fix this is to rewrite it from scratch, the code is a mess.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Compiler bug caused by Benchmark.bm
1 participant