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

Make 'field is not accessible' and 'field initialized twice' errors point to the field inside the obj construction #24557

Merged
merged 5 commits into from
Dec 22, 2024

Conversation

ire4ever1190
Copy link
Contributor

Fixes two line infos to make the error's clearer inside editors

  • 'field is not accessible' would point to the whole object construction instead of just the field inside the construction
  • 'field initialized twice' would point to the colon instead of the field

@Araq Araq merged commit 6bc5273 into nim-lang:devel Dec 22, 2024
18 checks passed
Copy link
Contributor

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

Hint: mm: orc; opt: speed; options: -d:release
178145 lines; 8.632s; 653.828MiB peakmem

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.

2 participants