Fork me on GitHub
#hyperfiddle
<
2021-09-11
>
witek12:09:27

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")

Geoffrey Gaillard12:09:54

Hi @witek. Are you using the master branch?

witek13:09:40

I think so... hyperfiddle/rcf {:git/url "" :sha "278e85015db315cae3b2301b3a197f7af2affe72"}

Geoffrey Gaillard15:09:31

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:

Geoffrey Gaillard17:09:00

@witek commit c742407c8757dffb273e0b24a71078da4ca42efb should solve your issue. Don’t hesitate to comment on the issue if it doesn’t.

👍 2