Skip to content

Commit

Permalink
Deprecate the Stream and Genlex stdlib modules
Browse files Browse the repository at this point in the history
  • Loading branch information
xavierleroy committed Jun 29, 2021
1 parent e1a37e1 commit 7b51a33
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions stdlib/Compflags
Original file line number Diff line number Diff line change
Expand Up @@ -37,5 +37,7 @@ case $1 in
stdlib__Float.cm[ox]) echo ' -nolabels -no-alias-deps';;
stdlib__Oo.cmi) echo ' -no-principal';;
# preserve structure sharing in Oo.copy (PR#9767)
stdlib__Genlex.cm[iox]) echo ' -w -3';;
# ignore the "deprecated" alert on the Stream module
*) echo ' ';;
esac
2 changes: 2 additions & 0 deletions stdlib/stdlib.mli
Original file line number Diff line number Diff line change
Expand Up @@ -1397,6 +1397,7 @@ module Format = Format
module Fun = Fun
module Gc = Gc
module Genlex = Genlex
[@@deprecated "Use the version from the camlp-streams library instead."]
module Hashtbl = Hashtbl
module Int = Int
module Int32 = Int32
Expand Down Expand Up @@ -1429,6 +1430,7 @@ module Set = Set
module Stack = Stack
module StdLabels = StdLabels
module Stream = Stream
[@@deprecated "Use the version from the camlp-streams library instead."]
module String = String
module StringLabels = StringLabels
module Sys = Sys
Expand Down
1 change: 1 addition & 0 deletions testsuite/tests/lib-stream/count_concat_bug.ml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
(* TEST
flags = "-w -3"
include testing
*)

Expand Down
1 change: 1 addition & 0 deletions testsuite/tests/lib-stream/mpr7769.ml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
(* TEST
flags = "-w -3"
readonly_files = "mpr7769.txt"
*)

Expand Down

0 comments on commit 7b51a33

Please sign in to comment.