Skip to:
Repro:
Place
anywhere in your source files, compile with :infern-externs true.
:infern-externs true
Expected:
Multiple warnings like:
WARNING: Cannot infer target type in expression (. Foo -prototype)
WARNING: Cannot infer target type in expression (. other_8838auto_ -constructor)
WARNING: Cannot infer target type in expression (. other_
_ -constructor)
WARNING: Cannot infer target type in expression (. user/Foo -getBasis)
There are also warnings for (. cljs.core/List -EMPTY), but this might be unrelated.
(. cljs.core/List -EMPTY)
I believe this was fixed by
Repro:
Place
anywhere in your source files, compile with
:infern-externs true
.Expected:
Multiple warnings like:
WARNING: Cannot infer target type in expression (. Foo -prototype)
WARNING: Cannot infer target type in expression (. other_
8838auto_ -constructor)
WARNING: Cannot infer target type in expression (. user/Foo -getBasis)
There are also warnings for
(. cljs.core/List -EMPTY)
, but this might be unrelated.