Skip to content

Commit b4206c4

Browse files
author
dnolen
committed
CLJS-1251: Missing semicolons when emitting deftype and defrecord mistaken use of 'def'
1 parent 7341697 commit b4206c4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/clojure/cljs/compiler.cljc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1121,7 +1121,7 @@
11211121
(emitln "this." fld " = " fld ";"))
11221122
(doseq [[pno pmask] pmasks]
11231123
(emitln "this.cljs$lang$protocol_mask$partition" pno "$ = " pmask ";"))
1124-
(emitln "})")
1124+
(emitln "});")
11251125
(emit body)))
11261126

11271127
(defmethod emit* :defrecord*
@@ -1138,7 +1138,7 @@
11381138
(emitln "this." fld " = " fld ";"))
11391139
(doseq [[pno pmask] pmasks]
11401140
(emitln "this.cljs$lang$protocol_mask$partition" pno "$ = " pmask ";"))
1141-
(emitln "})")
1141+
(emitln "});")
11421142
(emit body)))
11431143

11441144
(defmethod emit* :dot

0 commit comments

Comments
 (0)