Skip to content

Conversation

@deech
Copy link
Contributor

@deech deech commented Sep 17, 2022

No description provided.

@deech
Copy link
Contributor Author

deech commented Sep 17, 2022

It looks like this change is causing timeouts on CI. Can I get some help diagnosing which test is taking too long? I don't know where to look for test timing logs.

@deech deech changed the title Fixes #20348; reset the type checker recursion limit for each object field Fixes #20348; only respect the recursion limit if the symbol's generic type has been generated by the compiler Sep 18, 2022
@deech
Copy link
Contributor Author

deech commented Sep 18, 2022

Now that CI passes unless people have an issue with the new flag this an incremental improvement that can be merged. In the long term it would be good to talk about

  • a re-design that avoids recursionLimit
  • setting the recursion limit to 2, I'm not sure what the difference is between bailing out at 2 vs. 100.

@Varriount Varriount requested a review from Araq September 19, 2022 00:44
@Varriount Varriount added the Requires Araq To Merge PR should only be merged by Araq label Sep 19, 2022
@deech
Copy link
Contributor Author

deech commented Sep 22, 2022

This PR can be merged. We talked about it on Discord and Araq was good with this change.

@Varriount Varriount merged commit be4bd8a into nim-lang:devel Sep 22, 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 be4bd8a

Hint: mm: orc; threads: on; opt: speed; options: -d:release
164064 lines; 14.425s; 842.332MiB peakmem

@deech deech deleted the devel branch October 30, 2022 18:36
capocasa pushed a commit to capocasa/Nim that referenced this pull request Mar 31, 2023
narimiran pushed a commit that referenced this pull request May 12, 2023
…ic type has been generated by the compiler (#20377)

Fixes #20348

(cherry picked from commit be4bd8a)
narimiran pushed a commit that referenced this pull request May 15, 2023
…ic type has been generated by the compiler (#20377)

Fixes #20348

(cherry picked from commit be4bd8a)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Requires Araq To Merge PR should only be merged by Araq

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants