Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion jscomp/syntax/ast_external_attributes.ml
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ let handle_attributes
| _ -> Location.raise_errorf ~loc "expect label, optional, or unit here" )
arg_types in
if String.length prim_name <> 0 then
Location.raise_errorf ~loc "[@@bs.obj] except empty name";
Location.raise_errorf ~loc "[@@bs.obj] expect external names to be empty string";
Obj_create labels(* Need fetch label here, for better error message *)
| {set_index = true}
->
Expand Down