nbb 2023-04-22

Hello 👋 I think I found a regression, but feel free to tell me I've made some careless error 😅

(comment
  ;; "nbb" "1.0.142" works
  ;; "nbb" "1.2.173" regression
  (peek (into cljs.core/PersistentQueue.EMPTY [:a :b :c])) ;; nbb => :c
  (peek (into cljs.core/PersistentQueue.EMPTY [:a :b :c])) ;; shadow-cljs => :a
  )

$ npx nbb@latest
Welcome to nbb v1.2.173!
user=> (peek (into cljs.core/PersistentQueue.EMPTY [:a :b :c]))
:c

cljs.core/PersistentQueue.EMPTY is returning nil

Can you send an issue?

Yeah, no problem 👍

workaround:

(into #queue [] [:a :b :c])

👍 1

Thanks for the lightning response as per usual

I had a reader conditional in my code, so I wonder if #queue [] was an option at the time I wrote it? 🤔 😄

probably not ;)

Just goes to show the speed at which nbb improves! 🚀