We're updating the issue view to help you get more done. 

Self-host: spec check macro compile-time expansion

Description

If you add the following test code to the cljs.spec.test-test namespace, you'll see that it works just fine in JVM ClojureScript:

1 2 3 4 5 6 7 8 (defn foo-1234 [n] "ret") (s/fdef foo-1234 :args (s/cat :n number?) :ret string?) (deftest check-compile-time (is (seq (stest/check `foo-1234))))

But, in script/test-self-parity, you'll get a failure

1 2 3 FAIL in (check-compile-time) (at cljs/test.js:429:14) expected: (seq (stest/check (quote cljs.spec.test-test/foo-1234))) actual: (not (seq []))

Environment

None

Status

Assignee

Mike Fikes

Reporter

Mike Fikes

Labels

Approval

Accepted

Patch

Code and Test

Priority

Blocker