squint-cljs / squint

Light-weight ClojureScript dialect
https://squint-cljs.github.io/squint
645 stars 39 forks source link

`nil` causes a crash in html rendering #521

Closed brandonstubbs closed 5 months ago

brandonstubbs commented 5 months ago

version

v.0.7.105

problem

nil causes a crash with html reader in some case.

repro

(let [p nil]
  #html [:p p])

See conversation: https://clojurians.slack.com/archives/C03U8L2NXNC/p1714580892831609

expected behavior

it should render null

borkdude commented 5 months ago

Already opened #522 and wrote this in a changelog, so closing this one :)