Skip to content

Instantly share code, notes, and snippets.

@bwalex
Last active April 14, 2018 14:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bwalex/c7e4dc820d0246a10197225f58b4c982 to your computer and use it in GitHub Desktop.
Save bwalex/c7e4dc820d0246a10197225f58b4c982 to your computer and use it in GitHub Desktop.
❯ npx shadow-cljs check prod
shadow-cljs - config: /home/alex/code/dlt/shadow-cljs.edn version: 2.2.26
shadow-cljs - connected to server
------ WARNING #1 --------------------------------------------------------------
File: ~/.m2/repository/org/clojure/clojurescript/1.10.238/clojurescript-1.10.238.jar!/cljs/core.cljs:11505:17
--------------------------------------------------------------------------------
11502 | (enable-console-print!)
11503 |
11504 | (identical? *target* "nashorn")
11505 | (let [system (.type js/Java "java.lang.System")]
-----------------------^--------------------------------------------------------
variable Java is undeclared
--------------------------------------------------------------------------------
11506 | (set! *print-newline* false)
11507 | (set-print-fn!
11508 | (fn []
11509 | (let [xs (js-arguments)
--------------------------------------------------------------------------------
------ WARNING #2 --------------------------------------------------------------
File: ~/.m2/repository/org/clojure/clojurescript/1.10.238/clojurescript-1.10.238.jar!/cljs/core.cljs:11511:29
--------------------------------------------------------------------------------
11508 | (fn []
11509 | (let [xs (js-arguments)
11510 | s (.join (garray/clone xs) "")]
11511 | (.println (.-out system) s))))
-----------------------------------^--------------------------------------------
Property out never defined on system
--------------------------------------------------------------------------------
11512 | (set-print-err-fn!
11513 | (fn []
11514 | (let [xs (js-arguments)
11515 | s (.join (garray/clone xs) "")]
--------------------------------------------------------------------------------
------ WARNING #3 --------------------------------------------------------------
File: ~/.m2/repository/org/clojure/tools.reader/1.3.0-alpha3/tools.reader-1.3.0-alpha3.jar!/cljs/tools/reader/impl/commons.cljs:54:14
--------------------------------------------------------------------------------
51 | (if-not (nil? (m 2))
52 | 0
53 | (let [^boolean negate? (identical? "-" (m 1))
54 | a (cond
--------------------^-----------------------------------------------------------
Function parseInt: called with 1 argument(s). Function requires at least 2 argument(s) and no more than 2 argument(s).
--------------------------------------------------------------------------------
55 | (not (nil? (m 3))) [(m 3) 10]
56 | (not (nil? (m 4))) [(m 4) 16]
57 | (not (nil? (m 5))) [(m 5) 8]
58 | (not (nil? (m 7))) [(m 7) (js/parseInt (m 6))]
--------------------------------------------------------------------------------
------ WARNING #4 --------------------------------------------------------------
File: ~/.m2/repository/org/clojure/tools.reader/1.3.0-alpha3/tools.reader-1.3.0-alpha3.jar!/cljs/tools/reader/impl/commons.cljs:75:23
Function parseInt: called with 1 argument(s). Function requires at least 2 argument(s) and no more than 2 argument(s).
--------------------------------------------------------------------------------
------ WARNING #5 --------------------------------------------------------------
File: ~/.m2/repository/org/clojure/tools.reader/1.3.0-alpha3/tools.reader-1.3.0-alpha3.jar!/cljs/tools/reader/impl/commons.cljs:76:7
Function parseInt: called with 1 argument(s). Function requires at least 2 argument(s) and no more than 2 argument(s).
--------------------------------------------------------------------------------
------ WARNING #6 --------------------------------------------------------------
File: externs.shadow.js:3:29
variable decodeURI redefined with type (ShadowJS|null), original definition at externs.zip//es3.js:213 with type function(string): string
--------------------------------------------------------------------------------
------ WARNING #7 --------------------------------------------------------------
File: goog/base.js:106:4
assignment
found : string
required: IArrayLike<VALUE>
--------------------------------------------------------------------------------
------ WARNING #8 --------------------------------------------------------------
File: goog/base.js:111:41
actual parameter 4 of callback.call does not match formal parameter
found : (IArrayLike<VALUE>|string)
required: IArrayLike<VALUE>
--------------------------------------------------------------------------------
------ WARNING #9 --------------------------------------------------------------
File: ~/.m2/repository/instaparse/instaparse/1.4.8/instaparse-1.4.8.jar!/instaparse/abnf.cljc:235:9
Function instaparse.abnf.parse_int.call: called with 2 argument(s). Function requires at least 3 argument(s) and no more than 3 argument(s).
--------------------------------------------------------------------------------
------ WARNING #10 -------------------------------------------------------------
File: ~/.m2/repository/instaparse/instaparse/1.4.8/instaparse-1.4.8.jar!/instaparse/abnf.cljc:229:15
Function instaparse.abnf.parse_int.call: called with 2 argument(s). Function requires at least 3 argument(s) and no more than 3 argument(s).
--------------------------------------------------------------------------------
------ WARNING #11 -------------------------------------------------------------
File: ~/.m2/repository/reagent/reagent/0.8.0-alpha2/reagent-0.8.0-alpha2.jar!/reagent/impl/template.cljs:264:8
condition always evaluates to true
left : null
right: null
--------------------------------------------------------------------------------
------ WARNING #12 -------------------------------------------------------------
File: ~/.m2/repository/reagent/reagent/0.8.0-alpha2/reagent-0.8.0-alpha2.jar!/reagent/impl/template.cljs:270:8
condition always evaluates to true
left : null
right: null
--------------------------------------------------------------------------------
------ WARNING #13 -------------------------------------------------------------
File: ~/.m2/repository/reagent/reagent/0.8.0-alpha2/reagent-0.8.0-alpha2.jar!/reagent/ratom.cljs:100:8
condition always evaluates to true
left : null
right: null
--------------------------------------------------------------------------------
nil
[:prod] Build completed. (562 files, 34 compiled, 0 warnings, 2.77s)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment