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

fixes #24258; compiler crash on len of varargs[untyped] #24307

Merged
merged 1 commit into from
Oct 14, 2024
Merged

Conversation

ringabout
Copy link
Member

fixes #24258

It uses conditionals to guard against ill formed AST to produce better error messages, rather than crashing

@Araq Araq merged commit 8b39b2d into devel Oct 14, 2024
21 of 22 checks passed
@Araq Araq deleted the pr_error_msgs_re branch October 14, 2024 15:43
Copy link
Contributor

Thanks for your hard work on this PR!
The lines below are statistics of the Nim compiler built from 8b39b2d

Hint: mm: orc; opt: speed; options: -d:release
175243 lines; 8.424s; 655.32MiB peakmem

narimiran pushed a commit that referenced this pull request Oct 24, 2024
fixes #24258

It uses conditionals to guard against ill formed AST to produce better
error messages, rather than crashing

(cherry picked from commit 8b39b2d)
narimiran pushed a commit that referenced this pull request Jan 14, 2025
fixes #24258

It uses conditionals to guard against ill formed AST to produce better
error messages, rather than crashing

(cherry picked from commit 8b39b2d)
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 crash on len of varargs[untyped]
2 participants