home
/
code
/
tiger.ml.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
Fix - check number of arguments in function calls
[tiger.ml.git]
/
compiler
/
testcases
/
test19.tig
1
/* error : second function uses variables local to the first one, undeclared variable */
2
let
3
4
function do_nothing1(a: int, b: string):int=
5
(do_nothing2(a+1);0)
6
7
function do_nothing2(d: int):string =
8
(do_nothing1(a, "str");" ")
9
10
in
11
do_nothing1(0, "str2")
12
end
13
This page took
0.067265 seconds
and
4
git commands to generate.