Skip to content

Commit

Permalink
Remove broken check.
Browse files Browse the repository at this point in the history
This check is performed a few lines below. Worse, the check is missing
begin/end, so nothing actually happens to the input programs.
  • Loading branch information
mhyee committed Jun 6, 2017
1 parent dcce460 commit 880e686
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions sourir.ml
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,6 @@ let () =
exit 2
in

try Check.well_formed program with
| Check.MissingMain ->
Printf.eprintf "Program is missing an explicit or implicit main function\n";
| _ -> ();

let program =
if !autofix
then Transform.try_opt Transform.normalize_graph program
Expand Down

0 comments on commit 880e686

Please sign in to comment.