Rewrite Java resolve to use static class scope instead of synthesized packages
#KT-4149 Fixed #KT-4839 Fixed
This commit is contained in:
@@ -6,26 +6,24 @@ public open class PrivateMembers {
|
||||
private open fun method(): kotlin.Unit
|
||||
private final /*synthesized*/ fun samAdapter(/*0*/ p0: (() -> kotlin.Unit)?): kotlin.Unit
|
||||
private open fun samAdapter(/*0*/ p0: test.PrivateMembers.SamInterface?): kotlin.Unit
|
||||
|
||||
|
||||
private open inner class Inner {
|
||||
private constructor Inner()
|
||||
}
|
||||
|
||||
|
||||
private open class Nested {
|
||||
private constructor Nested()
|
||||
|
||||
// Static members
|
||||
private open fun staticMethodInNested(): kotlin.Unit
|
||||
}
|
||||
|
||||
|
||||
private trait SamInterface {
|
||||
public abstract fun foo(): kotlin.Unit
|
||||
}
|
||||
}
|
||||
|
||||
package test.PrivateMembers {
|
||||
private var staticField: kotlin.Int
|
||||
private /*synthesized*/ fun SamInterface(/*0*/ function: () -> kotlin.Unit): test.PrivateMembers.SamInterface
|
||||
|
||||
// Static members
|
||||
private final var staticField: kotlin.Int
|
||||
private final /*synthesized*/ fun SamInterface(/*0*/ function: () -> kotlin.Unit): test.PrivateMembers.SamInterface
|
||||
private open fun staticMethod(): kotlin.Unit
|
||||
|
||||
package test.PrivateMembers.Nested {
|
||||
private open fun staticMethodInNested(): kotlin.Unit
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user