Add a separate pass to check for missing bindings #62
Labels
No labels
blocked
blocker
bug
c
codegen
dependencies
discussion
documentation
duplicate
enhancement
good first issue
help wanted
in progress
invalid
javascript
lexer/parser
llvm
macroexpander
performance
priority:high
priority:low
priority:normal
question
triage
typechecker
webassembly
wontfix
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: samvv/bolt#62
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Due to issue #47, we need a way to report all unbound identifiers and not just the first one.
One way to solve this would be to never let the type checker inject bindings when it finds that one is missing, but then we also cannot unify the different missing names with each other through a type variable.
The solution left is to create a pass that reports all missing bindings by traversing the AST.