ClojureScript

namespaced keyword that uses a :require-macros alias broken

Details

  • Type: Defect Defect
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Completed
  • Affects Version/s: None
  • Fix Version/s: None
  • Component/s: None
  • Labels:
    None
  • Patch:
    Code and Test

Description

ClojureScript:cljs.user> (ns foo.bar (:require-macros [clojure.core :as cc]))

ClojureScript:foo.bar> ::cc/blah
Invalid token: ::cc/blah

Activity

Hide
Chas Emerick added a comment -

Confirmed, thanks. Will look at this over the weekend.

Show
Chas Emerick added a comment - Confirmed, thanks. Will look at this over the weekend.
Chas Emerick made changes -
Field Original Value New Value
Description {code}
ClojureScript:cljs.user> (ns foo.bar (:require-macros [clojure.core :as cc]))

ClojureScript:foo.bar> ::cc/blah
Invalid token: ::cc/blah
{code}
Hide
Chas Emerick added a comment -

Ugh, :require-macros vs :requires-macros.

Patch attached.

Show
Chas Emerick added a comment - Ugh, :require-macros vs :requires-macros. Patch attached.
Chas Emerick made changes -
Patch Code and Test [ 10002 ]
Attachment CLJS-669.diff [ 12461 ]
David Nolen made changes -
Resolution Completed [ 1 ]
Status Open [ 1 ] Resolved [ 5 ]
David Nolen made changes -
Status Resolved [ 5 ] Closed [ 6 ]

People

Vote (0)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved: