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

fixes #10838 #10841

Merged
merged 3 commits into from
Mar 18, 2019
Merged

fixes #10838 #10841

merged 3 commits into from
Mar 18, 2019

Conversation

cooldome
Copy link
Member

The node nkFuncTy does not exist hence it can be used here. As far as I got, it is intentional not to have nkFuncTy. The solution is to add {.noSideEffect.} pragma in this case.

@Araq
Copy link
Member

Araq commented Mar 14, 2019

Instead the parser should reject this construct, there are only proc types, there are no "func" types.

@cooldome
Copy link
Member Author

done, func in types is now rejected

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