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

Make function calls not capture caller's parent's scope #100

Closed
kevin1 opened this issue Dec 1, 2015 · 1 comment
Closed

Make function calls not capture caller's parent's scope #100

kevin1 opened this issue Dec 1, 2015 · 1 comment
Assignees
Labels

Comments

@kevin1
Copy link
Collaborator

kevin1 commented Dec 1, 2015

parent should probably go to the global scope

typed_ast.ml

and check_function_type tparams expr tfuns_ref env = 
  let env' = {
    scope = { variables = tparams; parent = env.scope.parent };
    ...
@edwadli
Copy link
Owner

edwadli commented Dec 1, 2015

closed by #104

@edwadli edwadli closed this as completed Dec 1, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants