ClojureScript

Misleading message when calling a multi method resulting in a miss

Details

  • Type: Defect Defect
  • Status: Closed Closed
  • Priority: Trivial Trivial
  • Resolution: Completed
  • Affects Version/s: None
  • Fix Version/s: None
  • Component/s: None
  • Labels:
    None

Description

When calling a multimethod with no method matching the dispatching value an exception with a misleading message is thrown.
This is due to the usage of a name argument not part of the associated method definition, resulting to the code of cljs.core/name to be printed instead.

Provided patches fixes this by specifying the name argument.

Activity

People

Vote (0)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved: