mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-12 00:21:32 +00:00
Don't load Object as a supertype for Java classes
#KT-4890 In Progress #KT-5002 Fixed
This commit is contained in:
@@ -1,17 +1,17 @@
|
||||
package test
|
||||
|
||||
public trait WrongNumberOfGenericParameters : java.lang.Object {
|
||||
public trait WrongNumberOfGenericParameters {
|
||||
public abstract fun o0(): test.WrongNumberOfGenericParameters.One<out kotlin.Any?>?
|
||||
public abstract fun o2(): test.WrongNumberOfGenericParameters.One<[ERROR : T]>?
|
||||
public abstract fun t1(): test.WrongNumberOfGenericParameters.Two<out kotlin.Any?, out kotlin.Any?>?
|
||||
public abstract fun z(): test.WrongNumberOfGenericParameters.Zero?
|
||||
|
||||
public trait One</*0*/ T> : java.lang.Object {
|
||||
|
||||
public trait One</*0*/ T> {
|
||||
}
|
||||
|
||||
public trait Two</*0*/ P, /*1*/ Q> : java.lang.Object {
|
||||
|
||||
public trait Two</*0*/ P, /*1*/ Q> {
|
||||
}
|
||||
|
||||
public trait Zero : java.lang.Object {
|
||||
|
||||
public trait Zero {
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user