Resolve type of anonymous object in local object as local

This commit is contained in:
Svetlana Isakova
2014-08-19 15:17:43 +04:00
parent f811b9541c
commit eaeed78154
3 changed files with 15 additions and 1 deletions
@@ -0,0 +1,9 @@
fun foo() {
val a = object {
val b = object {
val c = 42
}
}
a.b.c : Int
}