Closed sirmspencer closed 3 years ago
Reflection warning, cognitect/test_runner.clj:71:7 - call to method startsWith can't be resolved (target class is unknown).
The code block is:
(defn- parse-kw [s] (if (.startsWith s ":") (read-string s) (keyword s)))
I would just create the PR, but im not 100% what the type of s is. If you are not familiar with reflection warnings s needs a type hint. something like ^String for a java.String. Just make sure to import the type you are hinting.
^String
Reflection warning, cognitect/test_runner.clj:71:7 - call to method startsWith can't be resolved (target class is unknown).
The code block is:
I would just create the PR, but im not 100% what the type of s is. If you are not familiar with reflection warnings s needs a type hint. something like
^String
for a java.String. Just make sure to import the type you are hinting.