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

Nested functions always local #5

Open
ecanuto opened this issue Aug 17, 2016 · 1 comment
Open

Nested functions always local #5

ecanuto opened this issue Aug 17, 2016 · 1 comment
Milestone

Comments

@ecanuto
Copy link
Member

ecanuto commented Aug 17, 2016

To keep language behaviour consistent with other languages with nested functions support, we must turn nested functions always local. Also, we must disable keyword local var for functions.

@ecanuto
Copy link
Member Author

ecanuto commented Aug 17, 2016

@avelino, please check if everything is ok and then close this issue.

@ecanuto ecanuto modified the milestone: 0.1.0 Aug 17, 2016
avelino pushed a commit that referenced this issue Aug 17, 2016
* 'master' of github.com:dut-lang/dut:
  Disable var keyword for functions (ref #5)
  Nested functions always local (ref #5)
  Local keyword renamed to var
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant