Skip to content

Commit

Permalink
[fix] compiler: Remove a useless assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
BourgerieQuentin committed Dec 4, 2012
1 parent b89ef77 commit 21d1603
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions compiler/ocamllang/ocamlPrint.ml
@@ -1,5 +1,5 @@
(*
Copyright © 2011 MLstate
Copyright © 2011, 2012 MLstate
This file is part of Opa.
Expand Down Expand Up @@ -533,7 +533,9 @@ struct
expr oc e;
output_string oc ")"
end
| Let [] | Letrec [] | Letin ([], _) | Letrecin ([], _) -> assert false (* TODO: HdList.t *)
| Let [] | Letrec [] -> assert false
| Letin ([], e) | Letrecin ([], e) ->
expr oc e
| Let binds ->
output_string oc "let ";
output_concat_map oc "\nand " expr_let binds;
Expand Down

0 comments on commit 21d1603

Please sign in to comment.