ClojureScript

Old-style property accessor raises warning on compile

Details

  • Type: Defect Defect
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Completed
  • Affects Version/s: None
  • Fix Version/s: None
  • Component/s: None
  • Labels:
  • Environment:
    cljs
  • Patch:
    Code

Description

clojure.browser.repl is accessing the property of an event via the / syntax, which seems to have been deprecated:
https://github.com/clojure/clojurescript/blob/f74b50967ef4041db585bd6c6f2f490285f61961/src/cljs/clojure/browser/repl.cljs#L71

It causes warnings on compile:

WARNING: No such namespace: e at line 71 resources/public/js/bin-debug/clojure/browser/repl.cljs

Attached is a fix

Activity

Sean Grove made changes -
Field Original Value New Value
Attachment fix-various-property-accessor.patch [ 12346 ]
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: