Skip to content

Commit

Permalink
Turn "include functor" extension on by default (ocaml-flambda#38)
Browse files Browse the repository at this point in the history
  • Loading branch information
ccasin authored Jul 26, 2022
1 parent 1531a02 commit 45cbc7d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions testsuite/tests/typing-modules/include_functor_disabled.ml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
(* TEST
flags = "-disable-all-extensions"
* expect
*)

Expand Down
2 changes: 1 addition & 1 deletion utils/clflags.ml
Original file line number Diff line number Diff line change
Expand Up @@ -379,7 +379,7 @@ module Extension = struct
type t = Comprehensions | Local | Include_functor

let all = [ Comprehensions; Local; Include_functor ]
let default_extensions = [ Local ]
let default_extensions = [ Local; Include_functor ]

let extensions = ref ([] : t list) (* -extension *)
let equal (a : t) (b : t) = (a = b)
Expand Down

0 comments on commit 45cbc7d

Please sign in to comment.