Externs inference fails, even when manual type hint is provided

Description

The below code triggers externs inference warning `WARNING: Cannot infer target type in expression (. (g (inc 1)) then identity)`

Replacing inner expression `(inc 1)` with a primitive value or replacing `g` with core fn doesn't trigger the warning

Environment

None

Status

Assignee

Mike Fikes

Reporter

Roman Liutikov

Labels

None

Approval

None

Patch

Code and Test

Priority

Major
Configure