Commit 865953b5 authored by Males, Sebastian's avatar Males, Sebastian
Browse files

[lj1019][jlq19][sm919] Fix compilation errors in lambda tests

parent a75a75c4
......@@ -9,5 +9,6 @@
# Program:
begin
int r = call (\(bool x) -> x)(2)
bool{bool} f = (\(bool x) -> x);
bool r = call f(2)
end
......@@ -9,5 +9,5 @@
# Program:
begin
int r = call (\(bool x) -> y)(true)
bool{bool} f = (\(bool x) -> y)
end
......@@ -9,5 +9,5 @@
# Program:
begin
int y = call (\(x) -> )(2)
int{int} f = (\(x) -> )
end
......@@ -9,5 +9,5 @@
# Program:
begin
int y = call (\(int x) -> return x)(2)
int{int} f = (\(int x) -> return x)
end
......@@ -9,5 +9,5 @@
# Program:
begin
int y = call (\(x) -> x)(2)
bool{bool} f = (\(x) -> x)
end
......@@ -6,7 +6,7 @@
# Program:
begin
int{int, int, bool, bool, bool, string} q = \(int x, int y, bool z, bool a, bool b, string c) -> x + y ;
int{int, int, bool, bool, bool, string} q = (\(int x, int y, bool z, bool a, bool b, string c) -> x + y);
int r = call q(2, 3, false, false, true, "hello");
print r
end
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment