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

fix #13515 [backport] #20315

Merged
merged 5 commits into from
Sep 11, 2022
Merged

fix #13515 [backport] #20315

merged 5 commits into from
Sep 11, 2022

Conversation

metagn
Copy link
Collaborator

@metagn metagn commented Sep 7, 2022

fixes #13515

Really prepareOperand's behavior of checking for nil node types is questionable, but I think this change is the most harmless for now, it's partially justified as templates resolving symbols early is unexpected.

Does not specifically need to be backported.

@metagn metagn changed the title fix #13515 fix #13515 [backport] Sep 7, 2022
@metagn metagn marked this pull request as draft September 7, 2022 12:28
@metagn metagn marked this pull request as ready for review September 7, 2022 17:41
@Varriount Varriount requested a review from Araq September 7, 2022 19:13
@Varriount Varriount added the Requires Araq To Merge PR should only be merged by Araq label Sep 7, 2022
@Araq Araq closed this Sep 8, 2022
@Araq Araq reopened this Sep 8, 2022
@Araq Araq added merge_when_passes_CI mergeable once green and removed Requires Araq To Merge PR should only be merged by Araq labels Sep 8, 2022
@metagn metagn closed this Sep 10, 2022
@metagn metagn reopened this Sep 10, 2022
@Araq Araq merged commit 58e6d43 into nim-lang:devel Sep 11, 2022
@github-actions
Copy link
Contributor

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

Hint: mm: orc; threads: on; opt: speed; options: -d:release
164070 lines; 12.478s; 842.277MiB peakmem

narimiran pushed a commit that referenced this pull request Sep 19, 2022
(cherry picked from commit 58e6d43)
capocasa pushed a commit to capocasa/Nim that referenced this pull request Mar 31, 2023
* fix nim-lang#13515

* only compile test

* no idea why this PR is unlocking this

* don't rope in symchoices

* even more restrictive
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
merge_when_passes_CI mergeable once green
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Calling nullary templates without () doesn't work inside calls inside other templates
3 participants