Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
7 changes: 0 additions & 7 deletions compiler/frontend/ast_exp_extension.ml
Original file line number Diff line number Diff line change
Expand Up @@ -61,13 +61,6 @@ let handle_extension e (self : Bs_ast_mapper.mapper)
Exp.constraint_ ~loc
(Ast_exp_handle_external.handle_raw ~kind:Raw_re loc payload)
(Ast_comb.to_regexp_type loc)
| "external" -> (
Location.deprecated loc
"%external is deprecated, use %raw or regular FFI syntax instead.";
match Ast_payload.as_ident payload with
| Some {txt = Lident x} -> Ast_exp_handle_external.handle_external loc x
| None | Some _ ->
Location.raise_errorf ~loc "external expects a single identifier")
| "debugger" ->
{e with pexp_desc = Ast_exp_handle_external.handle_debugger loc payload}
| "obj" -> (
Expand Down
13 changes: 0 additions & 13 deletions tests/tests/src/ExternalExtension.mjs

This file was deleted.

4 changes: 0 additions & 4 deletions tests/tests/src/ExternalExtension.res

This file was deleted.

Loading