KT-2142 function local classes do not work

#KT-2142 fixed
except KT-2277 Check overloads for local declarations
This commit is contained in:
Svetlana Isakova
2012-06-14 16:02:40 +04:00
parent d0cd37528a
commit 8b1c76992f
6 changed files with 39 additions and 23 deletions
@@ -0,0 +1,8 @@
//KT-2142 function local classes do not work
package a
fun foo() {
class Foo() {}
Foo() // Unresolved reference Foo
}