Skip to content

Commit a5f824c

Browse files
committed
inline toString impl for EmptyList
1 parent d3059d3 commit a5f824c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/main/cljs/cljs/core.cljs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3206,8 +3206,7 @@ reduces them without incurring seq initialization"
32063206

32073207
(deftype EmptyList [meta]
32083208
Object
3209-
(toString [coll]
3210-
(pr-str* coll))
3209+
(toString [coll] "()")
32113210
(equiv [this other]
32123211
(-equiv this other))
32133212
(indexOf [coll x]

0 commit comments

Comments
 (0)