High-arity .apply on spec-instrumented function throws "Invalid arity" error

Description

With ClojureScript 1.10.238, if you call .apply with over 21 arguments on a function that has been instrumented with cljs.spec.test.alpha/instrument, you will get an error about invalid arity. This problem does not occur with ClojureScript 1.9.954.

Regular apply works as expected.

Environment

ClojureScript 1.10.238

Assignee

Unassigned

Reporter

Miikka Koskinen

Labels

None

Approval

None

Patch

None

Priority

Major
Configure