RegexPattern cannot be aot-compiled

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, compilingmatch_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

Environment

core.match 0.2.2

Activity

Show:
David Nolen
December 10, 2014, 5:41 PM

Assignee

David Nolen

Reporter

import

Labels

None

Approval

None

Patch

None

Priority

Major
Configure