Skip to content

Commit cc0d6e0

Browse files
committed
remove now irrelevant test around int
1 parent c4bc714 commit cc0d6e0

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

src/test/clojure/cljs/type_inference_tests.clj

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -350,10 +350,12 @@
350350
(cljs.env/with-compiler-env test-cenv
351351
(:tag (analyze test-env '(dec x)))))
352352
'number))
353-
(is (= (ana/no-warn
354-
(cljs.env/with-compiler-env test-cenv
355-
(:tag (analyze test-env '(int x)))))
356-
'number))
353+
;; we relaxed int, making it too strict just creates
354+
;; problems for legit coercion, Clojure is vague so we are vague :)
355+
;; (is (= (ana/no-warn
356+
;; (cljs.env/with-compiler-env test-cenv
357+
;; (:tag (analyze test-env '(int x)))))
358+
;; 'number))
357359
(is (= (ana/no-warn
358360
(cljs.env/with-compiler-env test-cenv
359361
(:tag (analyze test-env '(unchecked-int x)))))

0 commit comments

Comments
 (0)