-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
13 changed files
with
458 additions
and
380 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 |
---|---|---|
@@ -1,3 +1,5 @@ | ||
let lookup_module ~loc:_ lid env = Env.lookup_module ~load:true lid env | ||
|
||
let find_type env ~loc head_id = Typetexp.find_type env loc head_id | ||
|
||
let find_modtype env ~loc head_id = Typetexp.find_modtype env loc head_id |
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 |
---|---|---|
@@ -1,3 +1,5 @@ | ||
let lookup_module ~loc lid env = Env.lookup_module ~loc lid env |> fst | ||
|
||
let find_type env ~loc head_id = Env.lookup_type ~loc head_id env | ||
|
||
let find_modtype env ~loc:_ head_id = Env.find_modtype_by_name head_id env |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
type module_type_407 = Types.module_type | ||
|
||
let migrate_module_type : Types.module_type -> module_type_407 = | ||
fun x -> x | ||
let migrate_module_type : Types.module_type -> module_type_407 = fun x -> x |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
type signature_item_407 = Types.signature_item | ||
|
||
let migrate_signature_item : Types.signature_item -> signature_item_407 = | ||
fun x -> x | ||
fun x -> x |
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 |
---|---|---|
@@ -1,12 +1,15 @@ | ||
(library | ||
(public_name ppx_import) | ||
(kind ppx_rewriter) | ||
(preprocess (pps ppx_tools_versioned.metaquot_411)) | ||
(libraries ppx_tools_versioned | ||
ocaml-migrate-parsetree)) | ||
(preprocess | ||
(pps ppx_tools_versioned.metaquot_411)) | ||
(libraries ppx_tools_versioned ocaml-migrate-parsetree)) | ||
|
||
(rule | ||
(deps (glob_files compat/*.ml)) | ||
(deps | ||
(glob_files compat/*.ml)) | ||
(targets compat.ml) | ||
(action | ||
(with-stdout-to %{targets} (run ./compat/gen.exe)))) | ||
(with-stdout-to | ||
%{targets} | ||
(run ./compat/gen.exe)))) |
Oops, something went wrong.