Resolve anonymous functions in block as expression

#KT-7265 Fixed
This commit is contained in:
Denis Zharkov
2016-03-18 18:34:37 +03:00
parent 77e37ff75d
commit 16736e3a0e
13 changed files with 171 additions and 15 deletions
@@ -18,9 +18,9 @@ class Outer {
}
fun outerFun() {
<!FUNCTION_DECLARATION_WITH_NO_NAME, CONFLICTING_OVERLOADS!>fun ()<!> {}
<!FUNCTION_DECLARATION_WITH_NO_NAME!>fun B.()<!> {}
fun () {}
fun B.() {}
<!FUNCTION_DECLARATION_WITH_NO_NAME, CONFLICTING_OVERLOADS!>@a fun ()<!> {}
<!FUNCTION_DECLARATION_WITH_NO_NAME!>fun @a A.()<!> {}
@a fun () {}
fun @a A.() {}
}