Importing java class through collection fails silently

Description

When java class is imported in current namespace using vector/list syntax, but without package list format, import fails silently and class is not imported at the end. Here is example:

This behavior is very confusing, especially if is done in code and compiler will not complain about it.

Environment

None

Activity

Show:
import
December 28, 2018, 3:24 PM

Comment made by: sanel

Thanks for quick response. Didn't know this was fixed in 1.10, which I'm currently not running.

Alex Miller
December 28, 2018, 3:08 PM

The spec was tightened to catch this in Clojure 1.10 and this now yields an error:

Not Reproducible
Your pinned fields
Click on the next to a field label to start pinning.

Assignee

Unassigned

Reporter

import

Labels

Priority

Major

Affects versions