Skip to content

Commit

Permalink
Merge pull request #1382 from rgrinberg/1364
Browse files Browse the repository at this point in the history
Do not reset flags for compatibility modules
  • Loading branch information
rgrinberg authored Oct 2, 2018
2 parents 0c9a1e7 + 1782335 commit c5f32bb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 3 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ next

- Support for new menhir rules (#863, fix #305, @fpottier, @rgrinberg)

- Do not remove flags when compiling compatibility modules for wrapped mode
(#1382, fix #1364, @rgrinberg)

1.3.0 (23/09/2018)
------------------

Expand Down
3 changes: 1 addition & 2 deletions src/compilation_context.ml
Original file line number Diff line number Diff line change
Expand Up @@ -122,8 +122,7 @@ let for_alias_module t =

let for_wrapped_compat t modules =
{ t with
flags = Ocaml_flags.default ~profile:(SC.profile t.super_context)
; includes = Includes.empty
includes = Includes.empty
; alias_module = None
; stdlib = None
; modules
Expand Down

0 comments on commit c5f32bb

Please sign in to comment.