File tree 2 files changed +6
-4
lines changed
src/main/clojure/cljs/vendor/clojure/tools
2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ cd src/main/clojure/cljs
7
7
8
8
DJSON_RELEASE=" 2.4.0"
9
9
TRANSIT_RELEASE=" 1.0.329"
10
- TREADER_RELEASE=" 1.3.7 "
10
+ TREADER_RELEASE=" 1.4.2 "
11
11
12
12
rm -rf data.json
13
13
git clone -b " v$DJSON_RELEASE " --depth 1 git@github.com:clojure/data.json.git
Original file line number Diff line number Diff line change 27
27
java.util.regex.Pattern
28
28
(java.util List LinkedList)))
29
29
30
+ (set! *warn-on-reflection* true )
31
+
30
32
; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
31
33
; ; helpers
32
34
; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
759
761
(ns-name *ns*)
760
762
761
763
(= \: (first token))
762
- (some-> token (subs 1 ) parse-symbol second' symbol resolve-ns ns-name )
764
+ (some-> token (subs 1 ) parse-symbol second' symbol resolve-ns)
763
765
764
766
:else
765
767
(some-> token parse-symbol second'))]
1022
1024
([] (read+string (source-logging-push-back-reader *in*)))
1023
1025
([stream] (read+string stream true nil ))
1024
1026
([^SourceLoggingPushbackReader stream eof-error? eof-value]
1025
- (let [^StringBuilder buf (doto (:buffer @(.source-log-frames stream)) (.setLength 0 ))
1027
+ (let [^StringBuilder buf (doto ^StringBuilder (:buffer @(.source-log-frames stream)) (.setLength 0 ))
1026
1028
o (log-source stream (read stream eof-error? eof-value))
1027
1029
s (.trim (str buf))]
1028
1030
[o s]))
1029
1031
([opts ^SourceLoggingPushbackReader stream]
1030
- (let [^StringBuilder buf (doto (:buffer @(.source-log-frames stream)) (.setLength 0 ))
1032
+ (let [^StringBuilder buf (doto ^StringBuilder (:buffer @(.source-log-frames stream)) (.setLength 0 ))
1031
1033
o (log-source stream (read opts stream))
1032
1034
s (.trim (str buf))]
1033
1035
[o s])))
You can’t perform that action at this time.
0 commit comments