mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-09 08:31:29 +00:00
This is needed, for example, to approximate flexible types correctly when rendering them in the code
19 lines
700 B
Plaintext
19 lines
700 B
Plaintext
package test
|
|
|
|
public trait SubclassFromGenericAndNot {
|
|
|
|
public trait Generic</*0*/ T> {
|
|
public abstract fun dummy(): kotlin.Unit
|
|
public abstract fun foo(/*0*/ key: T!): kotlin.Unit
|
|
}
|
|
|
|
public trait NonGeneric {
|
|
public abstract fun dummy(): kotlin.Unit
|
|
public abstract fun foo(/*0*/ org.jetbrains.annotations.NotNull() p0: kotlin.String!): kotlin.Unit
|
|
}
|
|
|
|
public trait Sub : test.SubclassFromGenericAndNot.NonGeneric, test.SubclassFromGenericAndNot.Generic<kotlin.String!> {
|
|
public abstract override /*2*/ /*fake_override*/ fun dummy(): kotlin.Unit
|
|
public abstract override /*2*/ fun foo(/*0*/ key: kotlin.String!): kotlin.Unit
|
|
}
|
|
} |