Commit 8d248e3
CLJS-1512: Self-host: arithmetic form meta missing :numeric
In cljs.analyzer/macroexpand-1*, the mac-var is
obtained and its meta is checked for
:cljs.analyzer/numeric. The problem is that this
is a cljs.core/Var obtained from the findInternedVar
method on cljs.core/Namespace, which slaps
on a degenerate var-meta with the map: {:ns this}.
Instead, employ a :cljs conditional branch to
to extract the meta out of the compiler metadata.1 parent 0d52cf2 commit 8d248e3
1 file changed
+6
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2358 | 2358 | | |
2359 | 2359 | | |
2360 | 2360 | | |
2361 | | - | |
| 2361 | + | |
| 2362 | + | |
| 2363 | + | |
| 2364 | + | |
| 2365 | + | |
| 2366 | + | |
2362 | 2367 | | |
2363 | 2368 | | |
2364 | 2369 | | |
| |||
0 commit comments