We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1c2094c commit e661314Copy full SHA for e661314
src/main/clojure/cljs/analyzer/api.cljc
@@ -71,6 +71,12 @@
71
`(ana/with-warning-handlers ~handlers
72
~@body))
73
74
+(defn warning-message
75
+ "Helper for generating the standard analyzer messages for warnings. Should be
76
+ passed warn-type and warn-info. See with-warning-handlers."
77
+ [warn-type warn-info]
78
+ (ana/error-message warn-type warn-info))
79
+
80
(defn get-options
81
"Return the compiler options from compiler state."
82
([] (get-options (current-state)))
0 commit comments