Skip to content

Commit 3c82c7b

Browse files
committed
wip
1 parent c0ea680 commit 3c82c7b

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

src/sci/impl/analyzer.cljc

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -575,11 +575,12 @@
575575
closure-idx (get-in new-cb (conj parents :syms ob))]
576576
closure-idx))
577577

578-
(defn resolve-type-hint [ctx t]
579-
(or (interop/resolve-type-hint ctx t)
580-
(records/resolve-record-class ctx t)
581-
(throw-error-with-location
582-
(str "Unable to resolve classnamex: " t) t)))
578+
#?(:clj
579+
(defn resolve-type-hint [ctx t]
580+
(or (interop/resolve-type-hint ctx t)
581+
(records/resolve-record-class ctx t)
582+
(throw-error-with-location
583+
(str "Unable to resolve classnamex: " t) t))))
583584

584585
(defn analyze-let*
585586
[ctx expr destructured-let-bindings exprs]

0 commit comments

Comments
 (0)