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

People

Vote (0)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved: