Rewrite Java resolve to use static class scope instead of synthesized packages
#KT-4149 Fixed #KT-4839 Fixed
This commit is contained in:
@@ -1,31 +1,29 @@
|
||||
package test
|
||||
|
||||
public trait Nested {
|
||||
|
||||
|
||||
public trait Deeper1 {
|
||||
|
||||
|
||||
public trait Runnable {
|
||||
public abstract fun run(): kotlin.Unit
|
||||
public abstract fun run2(): kotlin.Unit
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
public trait Deeper2 {
|
||||
|
||||
|
||||
public trait Runnable {
|
||||
public abstract fun run(): kotlin.Unit
|
||||
}
|
||||
|
||||
// Static members
|
||||
public final /*synthesized*/ fun Runnable(/*0*/ function: () -> kotlin.Unit): test.Nested.Deeper2.Runnable
|
||||
}
|
||||
|
||||
|
||||
public trait Runnable {
|
||||
public abstract fun run(): kotlin.Unit
|
||||
}
|
||||
}
|
||||
|
||||
package test.Nested {
|
||||
public /*synthesized*/ fun Runnable(/*0*/ function: () -> kotlin.Unit): test.Nested.Runnable
|
||||
|
||||
package test.Nested.Deeper2 {
|
||||
public /*synthesized*/ fun Runnable(/*0*/ function: () -> kotlin.Unit): test.Nested.Deeper2.Runnable
|
||||
}
|
||||
|
||||
// Static members
|
||||
public final /*synthesized*/ fun Runnable(/*0*/ function: () -> kotlin.Unit): test.Nested.Runnable
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user