Skip to content

Commit

Permalink
fix warning
Browse files Browse the repository at this point in the history
  • Loading branch information
jaredly committed Dec 15, 2018
1 parent b5b2ad7 commit 4b5ea22
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion type-digger/TypeDigger.re
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,9 @@ let main = configPath => {
/* loop(config.version) */
};

let body = makeAllModules() @ Parsetree.[
let body = Parsetree.[
[%stri [@ocaml.warning "-34"]; ],
] @ makeAllModules() @ Parsetree.[
[%stri
let currentVersion = [%e Ast_helper.Exp.constant(Parsetree.Pconst_integer(string_of_int(config.version), None))]
],
Expand Down

0 comments on commit 4b5ea22

Please sign in to comment.