5fa1774cc1
#KT-1924 In Progress #KT-2830 Fixed
15 lines
295 B
Kotlin
15 lines
295 B
Kotlin
package test
|
|
|
|
public trait MutableToReadOnly: Object {
|
|
|
|
public trait Super: Object {
|
|
public fun foo(p: MutableList<String>)
|
|
|
|
public fun dummy() // to avoid loading as SAM interface
|
|
}
|
|
|
|
public trait Sub: Super {
|
|
override fun foo(p: MutableList<String>)
|
|
}
|
|
}
|