Thanks Thomas,
That was very helpful. I tried your suggestion and it works in JVM
ClojureScript. That method does not work on bootstrapped ClojureScript
though.
As far as I understand this is a result of bootstrapped ClojureScript
evaluating the .clj(c) file in the same JavaScript environment
Hi all,
I am trying to implement custom assertions in ClojureScript. I tried to
use defmethod but got the following error:
> clojure -Sdeps '{:deps {org.clojure/clojurescript {:mvn/version
> "1.10.520"}}}' -m cljs.main --repl --repl-env node
> cljs.user=> (require '[cljs.test])
> nil
> cljs.use
Thiago Araújo writes:
> Hi,
>
> I'm a newcomer to java interop. I'm trying to run the following code
> without success:
>
> (javafx.scene.layout.HBox. (javafx.scene.control.Label. "Foo"))
>
> I get:
>
> IllegalArgumentException No matching ctor found for class
> javafx.scene.layout.HBox