core.match

OrPattern (:or 1 2) cannot be aot-compiled

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:
    core.match 0.2.0-rc5

Description

I have a match expression containing an (:or :x :y) and this seems to trip up AOT compilation when running "lein uberjar".

At least I get a

Exception in thread "main"
java.lang.IllegalArgumentException: No method in multimethod 'to-source' for dispatch value: class clojure.core.match.OrPattern

Works fine otherwise, just "lein uberjar" fails.

Activity

David Nolen made changes -
Field Original Value New Value
Resolution Completed [ 1 ]
Status Open [ 1 ] Resolved [ 5 ]
David Nolen made changes -
Status Resolved [ 5 ] Closed [ 6 ]

People

Vote (0)
Watch (2)

Dates

  • Created:
    Updated:
    Resolved: