Transform anonymous types even for public symbols

This became necessary when we removed the requirement to specify types for
public members, because otherwise everything fails not being able to locate the
anonymous class from another module

 #KT-9072 Fixed
 EA-72801
This commit is contained in:
Alexander Udalov
2015-09-11 16:43:31 +03:00
parent 6cecc66d10
commit 085fc3bf87
30 changed files with 85 additions and 65 deletions
@@ -1,6 +1,6 @@
package
public val R: R.<no name provided>
public val R: kotlin.Any
public val prop: kotlin.Int = 42
public fun foo(): kotlin.Unit
@@ -17,7 +17,7 @@ public final class Test {
public companion object Companion : Test.InnerClass {
private constructor Companion()
public final val a: Test.Companion.a.<no name provided>
public final val a: Test.InnerClass
public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int
public final fun more(): Test.InnerClass
@@ -24,7 +24,7 @@ public final class Test {
public object Some : Test.InnerClass {
private constructor Some()
public final val a: Test.Some.a.<no name provided>
public final val a: Test.InnerClass
public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int
public final fun more(): Test.InnerClass
+1 -1
View File
@@ -1,3 +1,3 @@
package
public val oo: oo.<no name provided>
public val oo: kotlin.Any