[MATCH-86] OrPattern (:or 1 2) cannot be aot-compiled Created: 01/Aug/13 Updated: 08/Apr/14 Resolved: 23/Sep/13
|Reporter:||Thomas Heller||Assignee:||David Nolen|
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"
Works fine otherwise, just "lein uberjar" fails.
|Comment by David Nolen [ 01/Aug/13 12:17 PM ]|
hrm, I suspect that the Object multimethod cases are the source of the issue - these were eliminated from the group-pattern logic and many AOT issues evaporated. I'll think on this some.
|Comment by David Nolen [ 23/Sep/13 7:56 PM ]|
|Comment by Anders Conbere [ 07/Apr/14 10:38 PM ]|
Is it possible that this issues wasn't fixed by that commit?
I can reproduce on master by attempting to aot compile `clojure.core.match.test.core`. In fact, I can go back to when that commit was introduced and get the same error.
Steps to reproduce and patch to test with here: https://gist.github.com/aconbere/b9ce4b05b8bad1de6869
|Comment by David Nolen [ 07/Apr/14 10:49 PM ]|
AOT'ing tests adds more variables than I care to consider. Please demonstrate a reproducible bug in a minimal case, preferable a project that I clone and test against, thanks.
|Comment by Zane Shelby [ 08/Apr/14 11:39 AM ]|
Here's a Github project that reproduces the issue for me:
|Comment by David Nolen [ 08/Apr/14 12:11 PM ]|
That is not the latest version of core.match. Please demonstrate that 0.2.1 has the issue.