ClojureScript

Anonymous variadic fn arg not read properly

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

Description

Starting with 0.0-1853 (specifically, 9f010ff), anonymous function literals containing a variadic argument fail to compile, e.g.

#(last %&)

This is due to TRDR-7 AFAICT. Note that the above will work in all known ClojureScript REPLs because they still use clojure.core/read & co.; the failure only occurs via e.g. lein-cljsbuild, cljs.closure/-compile, etc.

Activity

Nicola Mometto made changes -
Field Original Value New Value
Attachment 0001-CLJS-571-update-tools.reader-to-last-version.patch [ 12190 ]
Nicola Mometto made changes -
Patch Code [ 10001 ]
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: