Skip to content

Commit b10d163

Browse files
committed
Disable warning of repeated "dotdotdot".
1 parent 75080ee commit b10d163

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

jscomp/ml/typedecl.ml

+1
Original file line numberDiff line numberDiff line change
@@ -1214,6 +1214,7 @@ let check_duplicates sdecl_list =
12141214
(fun {pld_name=cname;pld_loc=loc} ->
12151215
try
12161216
let name' = Hashtbl.find labels cname.txt in
1217+
if cname.txt <> "dotdotdot" then
12171218
Location.prerr_warning loc
12181219
(Warnings.Duplicate_definitions
12191220
("label", cname.txt, name', sdecl.ptype_name.txt))

0 commit comments

Comments
 (0)