The compiler cannot infer the target type of "(. RecordName -prototype)" expressions

Description

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.

Environment

None

Activity

Show:
David Nolen
April 9, 2020, 11:58 PM

I believe this was fixed by

Assignee

David Nolen

Reporter

Viktor Magyari

Labels

Approval

None

Patch

None

Priority

Blocker
Configure