home
/
code
/
tiger.ml.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix - check number of arguments in function calls
[tiger.ml.git]
/
compiler
/
src
/
lib
/
tiger
/
tiger_test_cases_book.ml
diff --git
a/compiler/src/lib/tiger/tiger_test_cases_book.ml
b/compiler/src/lib/tiger/tiger_test_cases_book.ml
index
7502b47
..
76bb5af
100644
(file)
--- a/
compiler/src/lib/tiger/tiger_test_cases_book.ml
+++ b/
compiler/src/lib/tiger/tiger_test_cases_book.ml
@@
-113,6
+113,10
@@
let is_error_expected_semant_of_filename =
| "test25.tig" ->
Some Error.is_not_a_record
(* TODO: Be more specific *)
| "test25.tig" ->
Some Error.is_not_a_record
(* TODO: Be more specific *)
+ | "test35.tig"
+ | "test36.tig" ->
+ Some Error.is_wrong_number_of_args
+ (* TODO: Be more specific - how many expected, how many given? *)
| "test09.tig"
| "test11.tig"
| "test13.tig"
| "test09.tig"
| "test11.tig"
| "test13.tig"
This page took
0.026496 seconds
and
4
git commands to generate.