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
331
331
| "bs.new" -> {st with new_name = name_from_payload_or_prim ~loc payload}
332
332
| "bs.set_index" ->
333
333
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" ;
335
335
{st with set_index = true }
336
336
| "bs.get_index" ->
337
337
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" ;
339
339
{st with get_index = true }
340
340
| "bs.obj" -> {st with mk_obj = true }
341
341
| "bs.return" ->
You can’t perform that action at this time.
0 commit comments