Skip to content

Commit 3037f04

Browse files
mfikesswannodette
authored andcommitted
CLJS-2262: Correct comment that *warn-on-infer* is file-scope
1 parent f6f4c04 commit 3037f04

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/cljs/cljs/core.cljs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@
2727
;; effect is to set same-named analyzer dynamic Var, which is unset via binding
2828
;; scopes. In self-hosted it is cleared via cljs.js/post-file-side-effects.
2929
(def *unchecked-arrays* false)
30-
;; The scope of *warn-on-infer* is global. Its side effect is to affect
31-
;; cljs.analyzer/*cljs-warnings*.
30+
;; The scope of *warn-on-infer* is file-scope: Its side effect is to set the
31+
;; cljs.analyzer/*cljs-warnings* dynamic Var, which is unset via binding scopes.
3232
(def *warn-on-infer* false)
3333

3434
(set! *unchecked-arrays* true)

0 commit comments

Comments
 (0)