Commit 16ec711
committed
* add lift-tag-to-js helper
- CLJS uses boolean
- but externs inference returns js/Boolean
* in resolve-var add the ctor to the tag to track later, this also lets the extra information flow
* in analyze-dot check to see if the target is a constructor
- if it is use that tag instead, Function is not desirable
* safe-test? needs to check js/Boolean now
* unit tests1 parent ed1aec6 commit 16ec711
File tree
3 files changed
+27
-7
lines changed- src
- main/clojure/cljs
- test/clojure/cljs
3 files changed
+27
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1110 | 1110 | | |
1111 | 1111 | | |
1112 | 1112 | | |
| 1113 | + | |
| 1114 | + | |
| 1115 | + | |
1113 | 1116 | | |
1114 | 1117 | | |
1115 | 1118 | | |
| |||
1119 | 1122 | | |
1120 | 1123 | | |
1121 | 1124 | | |
1122 | | - | |
| 1125 | + | |
1123 | 1126 | | |
1124 | 1127 | | |
1125 | 1128 | | |
| |||
1310 | 1313 | | |
1311 | 1314 | | |
1312 | 1315 | | |
1313 | | - | |
1314 | | - | |
| 1316 | + | |
| 1317 | + | |
| 1318 | + | |
1315 | 1319 | | |
1316 | 1320 | | |
1317 | 1321 | | |
| |||
1320 | 1324 | | |
1321 | 1325 | | |
1322 | 1326 | | |
1323 | | - | |
| 1327 | + | |
| 1328 | + | |
| 1329 | + | |
1324 | 1330 | | |
1325 | 1331 | | |
1326 | | - | |
| 1332 | + | |
1327 | 1333 | | |
1328 | 1334 | | |
1329 | 1335 | | |
| |||
3585 | 3591 | | |
3586 | 3592 | | |
3587 | 3593 | | |
3588 | | - | |
| 3594 | + | |
| 3595 | + | |
3589 | 3596 | | |
3590 | 3597 | | |
3591 | 3598 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
641 | 641 | | |
642 | 642 | | |
643 | 643 | | |
644 | | - | |
| 644 | + | |
645 | 645 | | |
646 | 646 | | |
647 | 647 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
87 | 87 | | |
88 | 88 | | |
89 | 89 | | |
| 90 | + | |
90 | 91 | | |
91 | 92 | | |
92 | 93 | | |
| |||
146 | 147 | | |
147 | 148 | | |
148 | 149 | | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
149 | 162 | | |
150 | 163 | | |
151 | 164 | | |
| |||
0 commit comments