File tree Expand file tree Collapse file tree 3 files changed +8
-5
lines changed Expand file tree Collapse file tree 3 files changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -24,6 +24,8 @@ A release with known breaking changes is marked with:
24
24
// (adjust these in publish.clj as you see fit)
25
25
=== Unreleased
26
26
27
+ * Fix parsing of `b//` symbol
28
+ {issue}323[#323] ({borkdude})
27
29
* bump `org.clojure/tools.reader` to version `1.5.0`
28
30
({lread})
29
31
* `sexpr` now better matches clojure `read-string` for `~`, `@` and `~@`
Original file line number Diff line number Diff line change 223
223
[ns sym]
224
224
225
225
(and (not (interop/numeric? (nth sym 0 )))
226
- (not (identical? " " sym))
226
+ (not (= " " sym))
227
227
(not (string/ends-with? ns " :" ))
228
- (or (identical? sym " /" )
228
+ (or (= sym " /" )
229
229
(nil? (string/index-of sym " /" ))))
230
230
[ns sym]))))
231
- (when (or (identical? token " /" )
232
- (nil? (string/index-of token " /" )))
231
+ (when (or (= token " /" )
232
+ (nil? (string/index-of token " /" )))
233
233
[nil token]))))
234
234
235
235
(defn read-symbol
Original file line number Diff line number Diff line change 63
63
[" sym'" 'sym']
64
64
[" sym'sym" 'sym'sym]
65
65
[" sym:sym" 'sym:sym]
66
- [" \" string\" " " string" ]]]
66
+ [" \" string\" " " string" ]
67
+ [" b//" 'b//]]]
67
68
(let [n (p/parse-string s)]
68
69
(is (= :token (node/tag n)))
69
70
(is (= s (node/string n)))
You can’t perform that action at this time.
0 commit comments