Name resolution in getSetterSend seems wrong #239
Labels
bug
Fixes an issue, incorrect implementation
good first issue
Are you trying to have a good at SOMns? Start here!
language-design
Not everything is in the spec, sometimes, we need to decide what's best.
Milestone
getSetterSend
checks different kind of names depth first instead of breadth first.This seems wrong, because an local variable in a more inner scope is not found before some argument in an outer scope:
See to do introduced in:
https://github.com/smarr/SOMns/pull/233/files#diff-6753c8d394a8952d61bc05fe26679bfaR585
Think this is a good first issue to get started with the parser and related code.
First step to work on this should be to produce a test case.
The text was updated successfully, but these errors were encountered: