forked from ocaml/ocaml
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ensure that Ctype.nongen always calls remove_mode_variables (ocaml#70)
- Loading branch information
Showing
5 changed files
with
34 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
class c = | ||
object | ||
method private m () () = 0 | ||
end | ||
|
||
class virtual cv = | ||
object | ||
method virtual private m : unit -> unit -> int | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
(* TEST | ||
readonly_files = "regression_class_dep.ml" | ||
* setup-ocamlc.opt-build-env | ||
** ocamlc.opt | ||
module = "regression_class_dep.ml" | ||
*** ocamlc.opt | ||
module = "" | ||
flags = "-c" | ||
*) | ||
|
||
(* https://github.com/ocaml-flambda/ocaml-jst/issues/65 *) | ||
|
||
module Dep = Regression_class_dep | ||
class c fname = | ||
object | ||
inherit Dep.c | ||
inherit Dep.cv | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters