File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -331,11 +331,11 @@ let parse_external_attributes
331331 | "bs.new" -> {st with new_name = name_from_payload_or_prim ~loc payload}
332332 | "bs.set_index" ->
333333 if String. length prim_name_check <> 0 then
334- Location. raise_errorf ~loc " [@@bs.set_index] expect external names to be empty string" ;
334+ Location. raise_errorf ~loc " [@@bs.set_index] this particular external's name needs to be a placeholder empty string" ;
335335 {st with set_index = true }
336336 | "bs.get_index" ->
337337 if String. length prim_name_check <> 0 then
338- Location. raise_errorf ~loc " [@@bs.get_index] expect external names to be empty string" ;
338+ Location. raise_errorf ~loc " [@@bs.get_index] this particular external's name needs to be a placeholder empty string" ;
339339 {st with get_index = true }
340340 | "bs.obj" -> {st with mk_obj = true }
341341 | "bs.return" ->
You can’t perform that action at this time.
0 commit comments