check-ns: Assert failed: (r/Type? t)

Description

The presence of the function

in a namespace causes an assert error when check-ns is called on it.

Attached is the full output of lein typed check, and the full code for a lein project that demonstrates the bug. This only occurs in 0.3.11 and 0.3.10.

Environment

Java 8, Clojure 1.7, OS X 10.10.3

Activity

Show:
import
September 5, 2015, 11:12 PM

Comment made by: kshramt

Annotating some `clojure.lang.Numbers` methods seems to solve the problem.

Ambrose Bonnaire-Sergeant
September 15, 2015, 4:56 AM

I've reduced this down to tools.analyzer.jvm not resolving the reflection in:

Ambrose Bonnaire-Sergeant
December 4, 2017, 11:09 AM

No longer has assert error.

Completed

Assignee

Unassigned

Reporter

import

Labels

None

Approval

None

Patch

None

Components

Fix versions

Affects versions

Priority

Major