diff options
Diffstat (limited to '022arithmetic.cc')
-rw-r--r-- | 022arithmetic.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/022arithmetic.cc b/022arithmetic.cc index 760aa98d..a56d2b72 100644 --- a/022arithmetic.cc +++ b/022arithmetic.cc @@ -57,9 +57,9 @@ def main [ :(scenario add_checks_type) % Hide_errors = true; def main [ - 1:num <- add 2:boolean, 1 + 1:num <- add 2:bool, 1 ] -+error: main: 'add' requires number ingredients, but got '2:boolean' ++error: main: 'add' requires number ingredients, but got '2:bool' :(scenario add_checks_return_type) % Hide_errors = true; |