Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

1.0.0-alpha15 doesn't compile in CLJS #38

Open
thenonameguy opened this issue Jul 13, 2020 · 1 comment
Open

1.0.0-alpha15 doesn't compile in CLJS #38

thenonameguy opened this issue Jul 13, 2020 · 1 comment

Comments

@thenonameguy
Copy link

Could have been caught with #13

------ ERROR -------------------------------------------------------------------
 File: jar:file:/Users/kszabo/.m2/repository/spec-coerce/spec-coerce/1.0.0-alpha15/spec-coerce-1.0.0-alpha15.jar!/spec_coerce/core.cljc:179:11
--------------------------------------------------------------------------------
 176 |
 177 | (defn parse-multi-spec
 178 |   [[_ f retag & _]]
 179 |   (let [f (resolve f)]
-----------------^--------------------------------------------------------------
Encountered error when macroexpanding cljs.core/resolve.
AssertionError: Assert failed: Argument to resolve must be a quoted symbol
(core/and (seq? quoted-sym) (= (quote quote) (first quoted-sym)))
@solatis
Copy link

solatis commented Oct 25, 2020

I've also experienced this after upgrading to alpha15. Additionally, the parse-multi-spec function seems to always (often?) trigger a call with a nil type on the function as well, requiring us to define :default implementations for all multi-specs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants