Skip to content

Commit 2c00616

Browse files
committed
this should crash
1 parent 73ea296 commit 2c00616

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

test/sci/core_test.cljc

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,10 @@
341341
{:classes {'java.lang.Exception java.lang.Exception}})))
342342
:cljs (is (nil? (sci/eval-string "(resolve 'js/Error)" {:classes {'js #js {:Error js/Error}}}))))
343343
(is (= 1 (eval* "((binding [*ns* 'user] (resolve 'inc)) 0)")))
344-
(is (= 2 (eval* "(def x 2) (let [x 1 x #'x] @x)"))))
344+
(is (= 2 (eval* "(def x 2) (let [x 1 x #'x] @x)")))
345+
;; TODO: crash: user=> (sci/eval-string "#'ffoooo")
346+
nil
347+
)
345348

346349
#?(:clj
347350
(deftest type-hint-let-test

0 commit comments

Comments
 (0)