Fork me on GitHub
#clerk
<
2023-11-20
>
seb23114:11:57

Hello all. Getting an interesting exception when trying to show the result of a sexp while using clerk/page-size nil

(def foo "318") 

seb23114:11:59

Unhandled clojure.lang.ExceptionInfo
   n must be a number?
   {:n nil, :xs "318"}

Andrea09:12:01

@U0KGSPTGB this is a bug, thanks for finding it out

👍 1
seb23110:12:18

Would it be helpful if I raised this as an issue on Github @U9EQP1K0X?

seb23114:11:57

If the def is hidden or the view is explicitly stated there is no issue. And it is the same for any string in a def