Spec import and refer-clojure macros

Description

Add specs for import and refer-clojure.

Patch:

  • Fixes some indentation of previous specs

  • Factors out ::filters spec from ::ns-refer-clojure

  • Factors out ::import-list from ::ns-import

  • Reuses ::filters in ::ns-refer

  • Reuses ::filters in ::use-prefix-list

  • Removes :ret any? in ::ns-use (no need for it)

  • Adds clojure.core/import spec

  • Adds clojure.core/refer-clojure spec

Patch: import-referclj-2.patch

Environment

None

Activity

Show:
Renzo Borgatti
December 29, 2018, 10:46 PM

Hey , is this breaking refer-clojure? The snippet below works in 1.8.

Alex Miller
December 30, 2018, 2:36 PM

Hrm, yeah. I will move to a new ticket.

Alex Miller
December 30, 2018, 2:48 PM

See CLJ-2461. Note that a workaround is to do:

Renzo Borgatti
December 30, 2018, 6:11 PM

Thanks.

Completed

Assignee

Unassigned

Reporter

Alex Miller

Labels

Approval

Ok

Patch

Code

Fix versions

Affects versions

Priority

Major
Configure