This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-09-11
Channels
- # beginners (70)
- # clojure (34)
- # clojure-europe (1)
- # clojure-nl (2)
- # clojure-uk (3)
- # clojurescript (140)
- # cursive (6)
- # data-science (1)
- # emacs (8)
- # exercism (1)
- # fulcro (2)
- # gratitude (1)
- # helix (4)
- # hyperfiddle (5)
- # meander (3)
- # missionary (2)
- # pathom (4)
- # polylith (17)
- # reagent (7)
- # reitit (6)
- # reveal (2)
- # shadow-cljs (3)
- # uncomplicate (6)
Hi. I discovered strange behavior using rcf in my shadow-cljs app.
(tests "mytest" "x" := "y")
yields this error in the browser console:
react_devtools_backend.js:4049 mytest
react_devtools_backend.js:4049 actual:
react_devtools_backend.js:4049 RangeError: Maximum call stack size exceeded
at Object.eval [as cljs$core$ILookup$_lookup$arity$3] (core.cljs:9183)
at Object.eval [as cljs$core$ILookup$_lookup$arity$2] (core.cljs:9250)
at Object.eval [as cljs$core$IFn$_invoke$arity$1] (core.cljs:9262)
at Object.hyperfiddle$rcf$unify$wildcard_QMARK_ [as wildcard_QMARK_] (unify.cljc:60)
at Function.eval [as cljs$core$IFn$_invoke$arity$5] (unify.cljc:76)
at Function.eval [as cljs$core$IFn$_invoke$arity$5] (unify.cljc:82)
at Function.eval [as cljs$core$IFn$_invoke$arity$5] (unify.cljc:82)
at Function.eval [as cljs$core$IFn$_invoke$arity$5] (unify.cljc:82)
at Function.eval [as cljs$core$IFn$_invoke$arity$5] (unify.cljc:82)
at Function.eval [as cljs$core$IFn$_invoke$arity$5] (unify.cljc:82)
overrideMethod @ react_devtools_backend.js:4049
eval @ reporters.cljs:43
eval @ core.cljs:11198
eval @ core.cljs:11184
cljs$test$do_report @ test.cljs:425
eval @ utils.cljs:286
eval @ test.cljs:476
cljs$test$run_block @ test.cljs:448
cljs$test$test_var @ test.cljs:500
spark$utils$RCF__spark_utils__286 @ utils.cljs:286
eval @ utils.cljs:286
goog.globalEval @ main.js:486
shadow$cljs$devtools$client$browser$script_eval @ browser.cljs:24
shadow$cljs$devtools$client$browser$do_js_load @ browser.cljs:36
eval @ browser.cljs:57
eval @ env.cljs:248
shadow$cljs$devtools$client$env$do_js_reload_STAR_ @ env.cljs:220
eval @ env.cljs:256
shadow$cljs$devtools$client$browser$do_js_reload @ browser.cljs:43
eval @ browser.cljs:93
eval @ shared.cljs:32
shadow$remote$runtime$shared$process @ shared.cljc:164
eval @ shared.cljs:289
shadow$cljs$devtools$client$shared$remote_msg @ shared.cljs:16
eval @ websocket.cljs:16
react_devtools_backend.js:4049 expected: (hyperfiddle.rcf/unifies? := "x" "y")
Hi @witek. Are you using the master branch?
I think so...
hyperfiddle/rcf {:git/url "
I can reproduce it. Here is the issue https://github.com/hyperfiddle/rcf/issues/30 Thank you for reporting this error, I’ll look into it :thumbsup:
@witek commit c742407c8757dffb273e0b24a71078da4ca42efb
should solve your issue. Don’t hesitate to comment on the issue if it doesn’t.