Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CLJS-646: single segment namespaces and reify don't work
the exists? call in reify was not correct, it was a property access on the namespace, which would of course get resolved by the compiler, creating a symbol foo/foo (in the case where foo is the single segment namespace). now we actually emit a symbol of the namespace and the type symbol, the exists? macro now annotates this symbol with :cljs.analyzer/no-resolve, the analyzer now respects this so the user won't get spurious warnings from using exists? on vars that don't exist.
- Loading branch information
1 parent
d03c15b
commit 85ac96e
Showing
2 changed files
with
8 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters