forked from clj-kondo/clj-kondo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/master' into invalid-fn-name
- Loading branch information
Showing
51 changed files
with
354 additions
and
78 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{:hooks {:analyze-call {clojure.test/deftest hooks.clojure.test/deftest}}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
(ns hooks.clojure.test) | ||
|
||
(defn deftest [arg] | ||
;; do nothing, just return arg | ||
arg) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
(ns fail | ||
(:require [clojure.test :refer [deftest]])) | ||
|
||
(deftest my-test | ||
(let [x 1] | ||
(let [y 2] | ||
(assert (not= x y))))) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
(ns a) | ||
|
||
(deftype Foo []) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
(ns b (:require [a :refer :all]) | ||
(:import [a Foo])) | ||
|
||
(defn dude [^Foo x] | ||
(.-y x)) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{:hooks {:macroexpand {a/my-macro hooks.a/my-macro}}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
(ns hooks.a) | ||
|
||
(defmacro my-macro [& body] | ||
`(do ~@body)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
(ns a) | ||
|
||
(defmacro unknown-macro [name value] | ||
`(def ~name ~value)) | ||
|
||
(unknown-macro x 2) | ||
|
||
(defmacro my-macro [& body] | ||
`(do ~@body)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
(ns b | ||
(:require | ||
[a :refer [my-macro]])) | ||
|
||
(defn looses-name [] | ||
(my-macro (println a/x))) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
2023.10.20 | ||
2023.12.15 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
2023.10.21-SNAPSHOT | ||
2023.12.16-SNAPSHOT |
2 changes: 1 addition & 1 deletion
2
resources/clj_kondo/impl/cache/built_in/clj/clojure.core.server.transit.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
["^ ","~$accept-connection",["^ ","~:row",57,"~:col",1,"~:private",true,"~:fixed-arities",["~#set",[8]],"~:name","^0","~:ns","~$clojure.core.server","~:top-ns","^8","~:type","~:fn"],"~$validate-opts",["^ ","^1",50,"^2",1,"^3",true,"^4",["^5",[1]],"^6","^<","^7","^8","^9","^8","^:","^;"],"~$lock",["^ ","^1",26,"^2",1,"^3",true,"^6","^=","^7","^8","^9","^8"],"~$required",["^ ","^1",44,"^2",1,"^3",true,"^4",["^5",[2]],"^6","^>","^7","^8","^9","^8","^:","^;"],"~$with-lock",["^ ","^1",29,"^2",1,"~:macro",true,"^3",true,"~:varargs-min-arity",1,"^6","^?","^7","^8","^9","^8"],"~$stop-server",["^ ","^1",125,"^2",1,"^4",["^5",[0,1]],"^6","^B","^7","^8","^9","^8","^:","^;"],"~$repl-init",["^ ","^1",163,"^2",1,"^4",["^5",[0]],"^6","^C","^7","^8","^9","^8","^:","^;"],"~$start-server",["^ ","^1",84,"^2",1,"^4",["^5",[1]],"^6","^D","^7","^8","^9","^8","^:","^;"],"~$start-servers",["^ ","^1",157,"^2",1,"^4",["^5",[1]],"^6","^E","^7","^8","^9","^8","^:","^;"],"~$stop-servers",["^ ","^1",139,"^2",1,"^4",["^5",[0]],"^6","^F","^7","^8","^9","^8","^:","^;"],"~$repl-read",["^ ","^1",169,"^2",1,"^4",["^5",[2]],"^6","^G","^7","^8","^9","^8","^:","^;"],"~:filename","clojure/core/server.clj","~$resolve-fn",["^ ","^1",263,"^2",1,"^3",true,"^4",["^5",[1]],"^6","^I","^7","^8","^9","^8","^:","^;"],"~$*session*",["^ ","^1",23,"^2",1,"^6","^J","^7","^8","^9","^8"],"~$io-prepl",["^ ","^1",272,"^2",1,"^A",0,"^6","^K","^7","^8","^9","^8","^:","^;"],"~$prepl",["^ ","^1",191,"^2",1,"^A",2,"^6","^L","^7","^8","^9","^8","^:","^;"],"~$thread",["^ ","^1",38,"^2",1,"^@",true,"^3",true,"^A",2,"^6","^M","^7","^8","^9","^8","~:arities",["^ ","~:varargs",["^ ","~:min-arity",2,"~:args",["~#list",["~:nilable/string",null,null,null]]]]],"~$servers",["^ ","^1",27,"^2",1,"^3",true,"^6","^T","^7","^8","^9","^8"],"~$ex->data",["^ ","^1",187,"^2",1,"^3",true,"^4",["^5",[2]],"^6","^U","^7","^8","^9","^8","^N",["^ ","~i2",["^ ","~:ret","~:associative"]],"^:","^;"],"~$repl",["^ ","^1",180,"^2",1,"^4",["^5",[0]],"^6","^X","^7","^8","^9","^8","^:","^;"],"~$remote-prepl",["^ ","^1",295,"^2",1,"^A",4,"^6","^Y","^7","^8","^9","^8","^N",["^ ","^O",["^ ","^P",4,"^Q",["^R",["^S",null,null,null,null,null]]]],"^:","^;"],"~$parse-props",["^ ","^1",146,"^2",1,"^3",true,"^4",["^5",[1]],"^6","^Z","^7","^8","^9","^8","^:","^;"]] | ||
["^ ","~$accept-connection",["^ ","~:row",58,"~:col",1,"~:private",true,"~:fixed-arities",["~#set",[8]],"~:name","^0","~:ns","~$clojure.core.server","~:top-ns","^8","~:type","~:fn"],"~$validate-opts",["^ ","^1",51,"^2",1,"^3",true,"^4",["^5",[1]],"^6","^<","^7","^8","^9","^8","^:","^;"],"~$lock",["^ ","^1",27,"^2",1,"^3",true,"^6","^=","^7","^8","^9","^8"],"~$required",["^ ","^1",45,"^2",1,"^3",true,"^4",["^5",[2]],"^6","^>","^7","^8","^9","^8","^:","^;"],"~$with-lock",["^ ","^1",30,"^2",1,"~:macro",true,"^3",true,"~:varargs-min-arity",1,"^6","^?","^7","^8","^9","^8"],"~$stop-server",["^ ","^1",126,"^2",1,"^4",["^5",[0,1]],"^6","^B","^7","^8","^9","^8","^:","^;"],"~$repl-init",["^ ","^1",166,"^2",1,"^4",["^5",[0]],"^6","^C","^7","^8","^9","^8","^:","^;"],"~$start-server",["^ ","^1",85,"^2",1,"^4",["^5",[1]],"^6","^D","^7","^8","^9","^8","^:","^;"],"~$start-servers",["^ ","^1",160,"^2",1,"^4",["^5",[1]],"^6","^E","^7","^8","^9","^8","^:","^;"],"~$stop-servers",["^ ","^1",140,"^2",1,"^4",["^5",[0]],"^6","^F","^7","^8","^9","^8","^:","^;"],"~$repl-read",["^ ","^1",172,"^2",1,"^4",["^5",[2]],"^6","^G","^7","^8","^9","^8","^:","^;"],"~:filename","clojure/core/server.clj","~$resolve-fn",["^ ","^1",266,"^2",1,"^3",true,"^4",["^5",[1]],"^6","^I","^7","^8","^9","^8","^:","^;"],"~$*session*",["^ ","^1",24,"^2",1,"^6","^J","^7","^8","^9","^8"],"~$io-prepl",["^ ","^1",275,"^2",1,"^A",0,"^6","^K","^7","^8","^9","^8","^:","^;"],"~$prepl",["^ ","^1",194,"^2",1,"^A",2,"^6","^L","^7","^8","^9","^8","^:","^;"],"~$thread",["^ ","^1",39,"^2",1,"^@",true,"^3",true,"^A",2,"^6","^M","^7","^8","^9","^8","~:arities",["^ ","~:varargs",["^ ","~:min-arity",2,"~:args",["~#list",["~:nilable/string",null,null,null]]]]],"~$servers",["^ ","^1",28,"^2",1,"^3",true,"^6","^T","^7","^8","^9","^8"],"~$ex->data",["^ ","^1",190,"^2",1,"^3",true,"^4",["^5",[2]],"^6","^U","^7","^8","^9","^8","^N",["^ ","~i2",["^ ","~:ret","~:associative"]],"^:","^;"],"~$repl",["^ ","^1",183,"^2",1,"^4",["^5",[0]],"^6","^X","^7","^8","^9","^8","^:","^;"],"~$remote-prepl",["^ ","^1",298,"^2",1,"^A",4,"^6","^Y","^7","^8","^9","^8","^N",["^ ","^O",["^ ","^P",4,"^Q",["^R",["^S",null,null,null,null,null]]]],"^:","^;"],"~$parse-props",["^ ","^1",147,"^2",1,"^3",true,"^4",["^5",[1]],"^6","^Z","^7","^8","^9","^8","^:","^;"]] |
2 changes: 1 addition & 1 deletion
2
resources/clj_kondo/impl/cache/built_in/clj/clojure.core.transit.json
Large diffs are not rendered by default.
Oops, something went wrong.
1 change: 1 addition & 0 deletions
1
resources/clj_kondo/impl/cache/built_in/clj/clojure.java.basis.impl.transit.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
["^ ","~$read-edn",["^ ","~:row",18,"~:col",1,"~:private",true,"~:fixed-arities",["~#set",[1]],"~:name","^0","~:ns","~$clojure.java.basis.impl","~:top-ns","^8","~:type","~:fn"],"~$read-basis",["^ ","^1",33,"^2",1,"^3",true,"^4",["^5",[1]],"^6","^<","^7","^8","^9","^8","^:","^;"],"~$init-basis",["^ ","^1",41,"^2",1,"^6","^=","^7","^8","^9","^8"],"~$the-basis",["^ ","^1",45,"^2",1,"^6","^>","^7","^8","^9","^8"],"~$update-basis!",["^ ","^1",48,"^2",1,"~:varargs-min-arity",1,"^6","^?","^7","^8","^9","^8","^:","^;"],"~:filename","clojure/java/basis/impl.clj"] |
1 change: 1 addition & 0 deletions
1
resources/clj_kondo/impl/cache/built_in/clj/clojure.java.basis.transit.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
["^ ","~$initial-basis",["^ ","~:row",37,"~:col",1,"~:fixed-arities",["~#set",[0]],"~:name","^0","~:ns","~$clojure.java.basis","~:top-ns","^7","~:type","~:fn"],"~$current-basis",["^ ","^1",43,"^2",1,"^3",["^4",[0]],"^5","^;","^6","^7","^8","^7","^9","^:"],"~:filename","clojure/java/basis.clj"] |
Oops, something went wrong.