let module E = Tiger_error in
function
| "test49.tig" ->
- Some (function E.Invalid_syntax _ -> true | _ -> false)
+ Some Error.is_invalid_syntax
(* TODO: Be more specific - test position *)
| _ ->
(* TODO: Fill-in other expected cases *)
let is_error_expected_semant_of_filename =
let module E = Tiger_error in
function
+ | "test17.tig" ->
+ Some Error.is_unknown_type
+ (* TODO: Be more specific - which type? *)
| "test09.tig"
+ | "test11.tig"
+ | "test13.tig"
+ | "test14.tig"
| "test23.tig"
| "test26.tig"
| "test28.tig"