Closed avescodes closed 10 years ago
It seems as if the core.match version c2 relies on is not compatible. Bumping to 0.2.0 or 0.2.1 (the most recent) fixes compilation in the above scenario, but causes three test failures. If I get time, I'll circle around to see if I can fix them.
FAIL "Tick search" at (t_ticks.clj:6)
Actual result did not agree with the checking function.
Actual result: {:extent [-10.0 100], :max 100, :min -10.0, :ticks (-10.0 0.0 10.0 20.0 30.0 40.0 50.0 60.0 70.0 80.0 90.0 100.0)}
Checking function: (contains {:extent [0 100], :max 100.0, :min 0, :step 10.0, :ticks [0 10.0 20.0 30.0 40.0 50.0 60.0 70.0 80.0 90.0 100.0]})
The checker said this about the reason:
Best match found: {}
FAIL "Clamped tick search" at (t_ticks.clj:12)
Actual result did not agree with the checking function.
Actual result: {:extent [5.0 20], :max 20, :min 5.0, :ticks (5.0 10.0 15.0 20.0)}
Checking function: (contains {:extent [5.0 20], :max 20.0, :min 5.0, :step 5.0, :ticks [5.0 10.0 15.0 20.0]})
The checker said this about the reason:
Best match found: {:extent [5.0 20], :min 5.0, :ticks (5.0 10.0 15.0 20.0)}
FAIL "Clamped tick search" at (t_ticks.clj:17)
Actual result did not agree with the checking function.
Actual result: {:extent [5.5 20], :max 20, :min 5.5, :ticks (10.0 15.0 20.0)}
Checking function: (contains {:extent [5.5 20], :max 20.0, :min 5.5, :step 5.0, :ticks [5.5 10.5 15.5]})
The checker said this about the reason:
Best match found: {:extent [5.5 20], :min 5.5}
FAILURE: 3 checks failed. (But 52 succeeded.)
Doh, 0.2.3 fixes this. My bad.
Hey Kevin.
I was integrating C2 into a work project and discovered that things don't seem to work with more recent versions of ClojureScript.
For example, if you upgrade the hello-bars demo then clean
target/
andpublic/out/
you will find the project can no longer cljsbuild.Result:
(Since there doesn't seem to be a 0.2.1 tag, I bumped to 0.2.2 and the line in question is dom.cljs#112)
It seems to be something to do with core.match. Can you make anything of this?