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:
Alex Miller
December 29, 2018, 2:08 AM

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

import
December 29, 2018, 2:24 AM

Comment made by: sanel

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

Not Reproducible

Assignee

Unassigned

Reporter

import

Labels

Approval

None

Patch

None

Affects versions

Priority

Major