mirror of
https://github.com/ProgramSnail/Lama.git
synced 2025-12-26 00:28:47 +00:00
return fixed for real, tests added
This commit is contained in:
parent
644c1b3086
commit
274bda6938
95 changed files with 870 additions and 14 deletions
13
regression/test097.expr
Normal file
13
regression/test097.expr
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
fun f (a) {
|
||||
fun g (b) {
|
||||
fun h (c) {
|
||||
fun (x) { x + a + b + c}
|
||||
}
|
||||
h (b)
|
||||
}
|
||||
g (a)
|
||||
}
|
||||
|
||||
local x = read ();
|
||||
|
||||
write (f(10)(5))
|
||||
Loading…
Add table
Add a link
Reference in a new issue