TopDown resolve for functions

This commit is contained in:
Andrey Breslav
2011-02-28 15:09:32 +03:00
parent 4e0b6deda5
commit a532b6db11
11 changed files with 94 additions and 26 deletions
+1
View File
@@ -4,6 +4,7 @@ class A {
}
fun foo(a : Int) = a
fun fooB() = foo(1)
fun foo() : Int = 1
fun foo1() : B = new B()
}