fix: Emit undefined symbol error even if primary reference is GCed#1737
Conversation
|
Previously, we only emitted undefined symbol errors when the reference came from the file that "owned" that symbol. This kind of worked because if multiple files all referenced the undefined symbol, we'd emit an undefined symbol error for one of them. If the section containing the reference got GCed though, then we'd not emit the error. In order to fix this, we now don't check if the reference came from the canonical file for that symbol. Removing that check required that we fix how we identify if a symbol is undefined. We were relying on |
Issue #1739