core.match

RegexPattern cannot be aot-compiled

Details

  • Type: Defect Defect
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Completed
  • Affects Version/s: None
  • Fix Version/s: None
  • Component/s: None
  • Labels:
    None
  • Environment:
    core.match 0.2.2

Description

I have a very similar issue to MATCH-86, in which RegexPatterns won't aot-compile.

The exception message:

java.lang.IllegalArgumentException: No method in multimethod 'to-source' for dispatch value: class clojure.core.match.regex.RegexPattern, compiling:(match_bug/core.clj:11:4)

You can find a minimal example that reproduces the issue at https://github.com/schwarzmx/core.match-bug

Cheers,
Fernando

People

Vote (0)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved: