Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: remove last BS references #853

Merged
merged 1 commit into from
Oct 31, 2023
Merged
Show file tree
Hide file tree
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
6 changes: 3 additions & 3 deletions jscomp/common/dune
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
(libraries ext melange_compiler_libs js_parser))

(rule
(target external_ffi_types.ml)
(deps external_ffi_types.cppo.ml)
(target oprint_mel_primitive_name.ml)
(deps oprint_mel_primitive_name.dev.ml oprint_mel_primitive_name.release.ml)
(action
(run cppo %{env:CPPO_FLAGS=} %{deps} -o %{target})))
(copy# oprint_mel_primitive_name.%{profile}.ml %{target})))
12 changes: 6 additions & 6 deletions jscomp/common/external_arg_spec.mli
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
(* Copyright (C) 2015-2016 Bloomberg Finance L.P.
*
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
Expand All @@ -17,7 +17,7 @@
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
*
* You should have received a copy of the GNU Lesser General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *)
Expand All @@ -31,15 +31,15 @@ type label = private
| Obj_label of { name : string }
| Obj_empty
| Obj_optional of { name : string; for_sure_no_nested_option : bool }
(* it will be ignored , side effect will be recorded *)
(** it will be ignored , side effect will be recorded *)

type attr =
| Poly_var_string of { descr : (string * string) list }
| Poly_var of { descr : (string * string) list option }
| Int of (string * int) list (* ([`a | `b ] [@bs.int])*)
| Int of (string * int) list (* ([`a | `b ] [@mel.int])*)
| Arg_cst of cst
| Fn_uncurry_arity of
int (* annotated with [@bs.uncurry ] or [@bs.uncurry 2]*)
| Fn_uncurry_arity of int
(** annotated with [@mel.uncurry ] or [@mel.uncurry 2]*)
(* maybe we can improve it as a combination of {!Asttypes.constant} and tuple *)
| Extern_unit
| Nothing
Expand Down
352 changes: 0 additions & 352 deletions jscomp/common/external_ffi_types.cppo.ml

This file was deleted.

Loading