Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update on "compiler: getGlobalDeclaration() takes a NonLocalBinding"
No-op refactor to make Environment#getGlobalDeclaration() take a NonLocalBinding instead of just a name. The idea is that in subsequent PRs we can use information about the binding to resolve a type more accurately. For example, we can resolve `Array` differently if its an import or local and not the global Array. Similar for resolving local `useState` differently than the one from React. [ghstack-poisoned]
- Loading branch information