Skip to content

Commit a8647fd

Browse files
authored
Remove Js.Vector and Js.List (#6900)
* Remove `Js.Vector` and `Js.List` Resolves #5460 * changelog
1 parent 73c5aed commit a8647fd

25 files changed

+580
-2550
lines changed

CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@
3535
- Remove support for compiling `.ml` files, and general cleanup. https://github.com/rescript-lang/rescript-compiler/pull/6852
3636
- Remove `rescript convert` subcommand. https://github.com/rescript-lang/rescript-compiler/pull/6860
3737
- Remove support for `@bs.send.pipe`. This also removes all functions in `Js_typed_array` that rely on `@bs.send.pipe`. https://github.com/rescript-lang/rescript-compiler/pull/6858 https://github.com/rescript-lang/rescript-compiler/pull/6891
38+
- Remove deprecated `Js.Vector` and `Js.List`. https://github.com/rescript-lang/rescript-compiler/pull/6900
3839

3940
#### :bug: Bug Fix
4041

jscomp/core/outcome_printer_ns.ml

-2
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,6 @@ let out_ident ppf s =
4747
| "Js_int" -> "Js.Int"
4848
| "Js_option" -> "Js.Option"
4949
| "Js_result" -> "Js.Result"
50-
| "Js_list" -> "Js.List"
51-
| "Js_vector" -> "Js.Vector"
5250
(* Belt_libs *)
5351
| "Belt_Id" -> "Belt.Id"
5452
| "Belt_Array" -> "Belt.Array"

jscomp/others/js.res

-6
Original file line numberDiff line numberDiff line change
@@ -260,12 +260,6 @@ module Option = Js_option
260260
/** Define the interface for result */
261261
module Result = Js_result
262262

263-
/** Provide utilities for list */
264-
module List = Js_list
265-
266-
/** Provides bindings for JS Vector */
267-
module Vector = Js_vector
268-
269263
/** Provides bindings for console */
270264
module Console = Js_console
271265

jscomp/others/js_list.res

-213
This file was deleted.

jscomp/others/js_list.resi

-71
This file was deleted.

0 commit comments

Comments
 (0)