"add missing expr concrete type check" breaks identifier resolution #142
Labels
No Milestone
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: M-Labs/nac3#142
Loading…
Reference in New Issue
There is no content yet.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may exist for a short time before cleaning up, in most cases it CANNOT be undone. Continue?
Commit
cb450372d6
which I reverted causes a serious regression with identifier resolution.To reproduce:
Result:
Hmmm, yes, the check expr is actually not needed. Sorry for didn't review it properly.
The one for Name is actually redundant (add the name to the defined identifiers and check if it is there...). The one for tuple is wrong because it would check if the other tuple values are valid expressions, which are not because they contain not yet defined identifiers.