ClojureScript

apply needs to put all args after the 20th into an array seq

Details

  • Type: Defect Defect
  • Status: Open Open
  • Priority: Major Major
  • Resolution: Unresolved
  • Affects Version/s: None
  • Fix Version/s: None
  • Component/s: None
  • Labels:
    None

Description

This ticket is related to CLJS-359

Activity

David Nolen made changes -
Field Original Value New Value
Description This ticket is related to CLJS-359
A. R made changes -
Comment [ This is only for {{deftypes}}, correct? For normal functions we have the {{.-cljs$core$IFn$_invoke$arity$variadic}} on the fn object.

One alternative solution is actually:

Emit a {{.-cljs$core$IFn$_invoke$arity$variadic}} for an {{-invoke}} protocol with 21 arguments. This would take care of the variadic invoke. Not sure what's easier (kinda think adding this to {{apply}} is easier). Just an idea I wanted to get on the records.
]

People

Vote (0)
Watch (2)

Dates

  • Created:
    Updated: