edwadli / note-hashtag

3 stars 0 forks source link

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

Closed kevin1 closed 8 years ago

kevin1 commented 8 years ago

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 commented 8 years ago

closed by #104