Repro:
Place
`
(set! warn-on-infer true)
(defrecord Foo [])
`
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__8838__auto__ -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.