Remove debugging symbols in failwith

As running `OCAMLRUNPARAM=b ./_build/main.native ...` provides in case of `failwith` a better stacktrace.
This enables moving `failwith`s from a file to the other without adapting them.
This commit is contained in:
2022-12-19 13:56:48 +01:00
parent 906a3d948b
commit 609870755c
4 changed files with 15 additions and 15 deletions

View File

@@ -35,7 +35,7 @@ let exec_passes ast verbose debug passes f =
"Current AST (after %s):\n%a\n" n Lustre_pp.pp_ast ast);
aux ast passes)
end with
| _ -> failwith ("[main.ml] The pass "^n^" should have catched me!")
| _ -> failwith ("The pass "^n^" should have catched me!")
in
aux ast passes