Skip to content

Commit 180d000

Browse files
committed
Revert "Fix #331: sexpr on tagged literal should be fully qualified (#332)"
This reverts commit 587a95d.
1 parent 587a95d commit 180d000

3 files changed

Lines changed: 1 addition & 6 deletions

File tree

.dir-locals.el

Lines changed: 0 additions & 2 deletions
This file was deleted.

src/rewrite_clj/node/reader_macro.cljc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
(node-type [_node] :reader-macro)
4545
(printable-only?[_node] false)
4646
(sexpr* [node _opts]
47-
(list `read-string (node/string node)))
47+
(list 'read-string (node/string node)))
4848
(length [_node]
4949
(inc (node/sum-lengths children)))
5050
(string [_node]

test/rewrite_clj/node_test.cljc

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -220,6 +220,3 @@
220220
(is (= expected-node-type (proto/node-type n)))
221221
(is (= expected-str (n/string n)))
222222
(is (= expected-sexpr (n/sexpr n))))))
223-
224-
(deftest reader-macro-sexpr-test
225-
(is (= `read-string (first (n/sexpr (p/parse-string "#booya 32"))))))

0 commit comments

Comments
 (0)