Skip to content

Commit

Permalink
Merge pull request #125 from avsm/rel-1.4
Browse files Browse the repository at this point in the history
prepare release 1.4.0
  • Loading branch information
avsm authored Jun 11, 2019
2 parents 6ce807d + 9ff5a88 commit 523a139
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 14 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ env:
- TO_TEST=tests OPAMBUILDTEST=true OCAML_VERSION=4.04.2
- TO_TEST=tests OPAMBUILDTEST=true OCAML_VERSION=4.05.0
- TO_TEST=tests OPAMBUILDTEST=true OCAML_VERSION=4.06.1
- TO_TEST=tests OPAMBUILDTEST=true OCAML_VERSION=4.07.0
- TO_TEST=tests OPAMBUILDTEST=true OCAML_VERSION=4.07.1
before_install:
# Download and use opam2
- wget -O ${HOME}/opam https://github.com/ocaml/opam/releases/download/2.0.2/opam-2.0.2-x86_64-linux
- wget -O ${HOME}/opam https://github.com/ocaml/opam/releases/download/2.0.4/opam-2.0.4-x86_64-linux
- chmod +x ${HOME}/opam
# Some opam boilerplate
- export OPAMYES=1
Expand Down
6 changes: 6 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
### 1.4.0 (2019-06-11)
- Add `--force-output` option to force generation of diff file (#118 @clecat)
- Support OCaml 4.08.0 (#121 @xclerc)
- README and documentation fixes (#122 #118 @andreypopp @clecat @samoht)
- Use latest ocaml-migrate-parsetree interfaces (@avsm)

### 1.3.0 (2019-03-01)
- Updated readme file with the new features: dune rules, named environment and
ocaml versions, Some grammar correction too (@gpetiot, #101, aantron, #102)
Expand Down
24 changes: 12 additions & 12 deletions lib/migrate_ast.ml
Original file line number Diff line number Diff line change
Expand Up @@ -31,20 +31,20 @@ module Asttypes_ = Asttypes
module Parsetree_ = Parsetree

include (
Ast_406 :
module type of struct
include Ast_406
Migrate_parsetree.Ast_406 :
module type of struct
include Migrate_parsetree.Ast_406
end
with module Location := Ast_406.Location
and module Outcometree := Ast_406.Outcometree
and module Asttypes := Ast_406.Asttypes
and module Ast_helper := Ast_406.Ast_helper
and module Parsetree := Ast_406.Parsetree
with module Location := Migrate_parsetree.Ast_406.Location
and module Outcometree := Migrate_parsetree.Ast_406.Outcometree
and module Asttypes := Migrate_parsetree.Ast_406.Asttypes
and module Ast_helper := Migrate_parsetree.Ast_406.Ast_helper
and module Parsetree := Migrate_parsetree.Ast_406.Parsetree
)

module Asttypes = Ast_406.Asttypes
module Ast_helper = Ast_406.Ast_helper
module Parsetree = Ast_406.Parsetree
module Asttypes = Migrate_parsetree.Ast_406.Asttypes
module Ast_helper = Migrate_parsetree.Ast_406.Ast_helper
module Parsetree = Migrate_parsetree.Ast_406.Parsetree

module Parse = struct
open Migrate_parsetree
Expand Down Expand Up @@ -166,7 +166,7 @@ module Position = struct
end

module Location = struct
include Ast_406.Location
include Migrate_parsetree.Ast_406.Location

let fmt fs {loc_start; loc_end; loc_ghost} =
Format.fprintf fs "(%a..%a)%s" Position.fmt loc_start Position.fmt
Expand Down

0 comments on commit 523a139

Please sign in to comment.