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

allow setting template/macro recursive evaluation limits #7652

Merged
merged 2 commits into from
Apr 19, 2018

Conversation

jcosborn
Copy link
Contributor

No description provided.

@Araq
Copy link
Member

Araq commented Apr 19, 2018

That seems to create a set of Nim dialects. Is this really necessary? :-(

@jcosborn
Copy link
Contributor Author

I am hitting the template eval limit, so having some way to set it is useful.

@data-man
Copy link
Contributor

I'd prefer this parameters in nim.cfg

@jcosborn
Copy link
Contributor Author

Yes, it works in nim.cfg and from nimscript configs too.

@Araq
Copy link
Member

Araq commented Apr 19, 2018

I'd rather increase it to 500 instead of making it configurable.

@jcosborn
Copy link
Contributor Author

Ok, I used 1000 as a limit just to be safe.

@Araq Araq merged commit 7e15d51 into nim-lang:devel Apr 19, 2018
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.

3 participants