shadow-cljs 2025-05-12

according to https://clojurescript.org/guides/ns-forms#_implicit_refer, i should be able to refer both macros and non-macros without use of :refer-macros. shadow-cljs doesn't seem to like that. am i doing something wrong?

(ns opticlj.cljs.core-test
  (:require [clojure.test :refer [deftest is]]
            [opticlj.core :refer [defoptic ok? review!]]))

(defoptic ::two-plus-two (+ 2 2))

(deftest optics
  (is (ok? (review!))))
> Invalid :refer, var opticlj.core/defoptic does not exist

✅ 1