Fork me on GitHub
#babashka
<
2022-03-04
>
mike_ananev20:03:33

@borkdude why java.lang.StackOverflowError [at <repl>:3:1] is rising?

borkdude20:03:14

@mike1452 This has to do with the printing of the value. I haven't dug into why it happens, but just not printing the result will take care of the problem.

borkdude20:03:33

I'm not sure if it happens in JVM Clojure too, haven't tried.

borkdude20:03:27

Just checked, it doesn't seem to happen in JVM Clojure.

borkdude20:03:15

I'll make an issue for it

mike_ananev20:03:21

Yeah, I checked too. in JVM at-at has no error.

borkdude20:03:19

I found the issue. The print-method implementations aren't triggered properly for records in SCI. If you remove them, then then on the JVM printing the record will cause a stackoverflow too.

👍 1
borkdude16:03:42

Fixed on master. @mike1452

mike_ananev16:03:36

Oh, thank you. I’ll try.