Skip to content

Conversation

ringabout
Copy link
Member

fixes #21138

n[1] = transformSymAux(c, a)
return n
of nkProcDef: # todo optimize nosideeffects?
of nkProcDef, nkFuncDef: # todo optimize nosideeffects?
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Converters? Methods?

Copy link
Member Author

@ringabout ringabout Sep 26, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

They can not be used in a local scope in a for loop

e.g.

'converter' is only allowed at top level

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good point. Maybe add them anyway? Maybe we'll allow them to be local one day.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

okay

@Araq Araq merged commit cc49bf0 into devel Sep 27, 2025
21 checks passed
@Araq Araq deleted the pr_inquit branch September 27, 2025 03:54
Copy link
Contributor

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

Hint: mm: orc; opt: speed; options: -d:release
183134 lines; 8.470s; 661.637MiB peakmem

narimiran pushed a commit that referenced this pull request Sep 29, 2025
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.

Error: unhandled exception: field 'sym' is not accessible for type 'TNode'

2 participants