File tree Expand file tree Collapse file tree
Clojure/Clojure.Tests/clojure/test_clojure Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2020
2121(set! *warn-on-reflection* true )
2222
23- #_ (deftest no-hints-with-param-tags
23+ (deftest no-hints-with-param-tags
2424 (should-not-reflect
2525 (defn touc-no-reflect [s]
26- (^[] String/.toUpperCase s)))
26+ (^[] String/.ToUpper s))) ; ;; .toUpperCase
2727 (should-not-reflect
2828 (defn touc-no-reflectq [s]
29- (^[] java.lang. String/.toUpperCase s)))
29+ (^[] System. String/.ToUpper s))) ; ;; .toUpperCase
3030 (should-not-reflect
3131 (defn touc-no-reflect-arg-tags [s]
32- (^[java.util.Locale] String/ .toUpperCase s java.util.Locale/ENGLISH)))
32+ (^[System.Globalization.CultureInfo] String/.ToUpper s System.Globalization.CultureInfo/CurrentCulture))) ; ;; java.util.Locale] .toUpperCase java.util.Locale/ENGLISH
3333 (should-not-reflect
3434 (defn no-overloads-no-reflect [v]
35- (java.time.OffsetDateTime/.getYear v))))
35+ (DateTimeOffset/.Year v)))) ; ;; java.time.OffsetDateTime/.getYear
3636
3737#_(deftest no-param-tags-use-qualifier
3838 ; ; both Date and OffsetDateTime have .getYear - want to show here the qualifier is used
You can’t perform that action at this time.
0 commit comments