diff options
author | Jérémie Dimino <jeremie@dimino.org> | 2018-08-27 12:42:14 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-27 12:42:14 +0100 |
commit | 9124ab82d14b0fe4c8092af0f666b19d42139af0 (patch) | |
tree | 1d5fca3e26e7029af257196acf8695046be71695 /stdlib/int32.ml | |
parent | e6876098344a95a5a7c920b225a0dc797f7c8be1 (diff) | |
download | ocaml-9124ab82d14b0fe4c8092af0f666b19d42139af0.tar.gz |
Deprecate Pervasives (#1605)
- inline Pervasives in Stdlib and re-add Pervasives as a deprecated
module that aliases all elements of Stdlib except the stdlib modules.
- remove special case for Stdlib.Pervasives in printtyp.ml
Diffstat (limited to 'stdlib/int32.ml')
-rw-r--r-- | stdlib/int32.ml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/stdlib/int32.ml b/stdlib/int32.ml index 959c042480..9e1eabf5e4 100644 --- a/stdlib/int32.ml +++ b/stdlib/int32.ml @@ -64,5 +64,5 @@ let of_string_opt s = type t = int32 -let compare (x: t) (y: t) = Pervasives.compare x y +let compare (x: t) (y: t) = Stdlib.compare x y let equal (x: t) (y: t) = compare x y = 0 |