f6d3bb5b1b
All of these have a different order of declarations and/or extra `@NotNull` annotations on fields, both of which doesn't seem like a problem. #KT-49682
12 lines
323 B
Kotlin
Vendored
12 lines
323 B
Kotlin
Vendored
package test
|
|
|
|
class Test<T : CharSequence, N : Number> {
|
|
private val x = object : TypedListUpdateCallback<String, Long> {
|
|
override fun onInserted(position: Long, count: Long, item: String) {}
|
|
}
|
|
}
|
|
|
|
interface TypedListUpdateCallback<T : Any, C : Number> {
|
|
fun onInserted(position: C, count: C, item: T)
|
|
}
|