ClojureScript

Function invoke errors report arity off by 1

Details

  • Type: Defect Defect
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Completed
  • Affects Version/s: 1.10.238
  • Fix Version/s: None
  • Component/s: None
  • Patch:
    Code and Test

Description

((fn ([x]) ([x y]))) results in Error: Invalid arity: -1
((fn ([x]) ([x y])) 1 2 3) results in Error: Invalid arity: 2

This is a regression caused by CLJS-1519.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: