Skip to content

Commit 2fad227

Browse files
committed
remove Caml io/formatting/converting stuffs
1 parent f58f5c3 commit 2fad227

File tree

317 files changed

+732
-28806
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

317 files changed

+732
-28806
lines changed

jscomp/build_tests/super_errors/expected/warnings3.res.expected

Lines changed: 0 additions & 34 deletions
This file was deleted.

jscomp/build_tests/super_errors/fixtures/warnings3.res

Lines changed: 0 additions & 3 deletions
This file was deleted.

jscomp/core/lam_dispatch_primitive.ml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -220,10 +220,6 @@ let translate loc (prim_name : string) (args : J.expression list) : J.expression
220220
Not good for inline *)
221221
| "?array_blit" -> E.runtime_call Js_runtime_modules.array "blit" args
222222
| "?make_vect" -> E.runtime_call Js_runtime_modules.array "make" args
223-
| "?format_float" | "?hexstring_of_float" | "?float_of_string"
224-
| "?int_of_string" (* what is the semantics?*)
225-
| "?int64_format" | "?int64_of_string" | "?format_int" ->
226-
call Js_runtime_modules.format
227223
| "?obj_dup" -> call Js_runtime_modules.obj_runtime
228224
| "?obj_tag" -> (
229225
(* Note that in ocaml, [int] has tag [1000] and [string] has tag [252]

jscomp/ext/js_runtime_modules.ml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,6 @@ let obj_runtime = "Caml_obj"
3636

3737
let array = "Caml_array"
3838

39-
let format = "Caml_format"
40-
4139
let string = "Caml_string"
4240

4341
let bytes = "Caml_bytes"

0 commit comments

Comments
 (0)