ClojureScript

Apply does not work with multimethods

Details

  • Type: Defect Defect
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Completed
  • Affects Version/s: None
  • Fix Version/s: None
  • Component/s: None
  • Labels:
    None
  • Environment:
    ClojureScript compiler cf0e9bc

Description

It looks like (apply my-multimethod 1 2 3) tries to call the JavaScript apply on the multimethod, which gives

Uncaught TypeError: Object [object Object] has no method 'apply'

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: