mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-11 08:31:30 +00:00
This makes sense because this mode is the default in the production
compiler. Forgetting to enable it where necessary led to different
bizarre test failures, see for example changes around 3fee84b966 and
KT-34826
16 lines
286 B
Kotlin
Vendored
16 lines
286 B
Kotlin
Vendored
// FULL_JDK
|
|
// JAVAC_EXPECTED_FILE
|
|
// NO_CHECK_SOURCE_VS_BINARY
|
|
|
|
package test
|
|
|
|
import java.util.AbstractList
|
|
|
|
public open class ModalityOfFakeOverrides : AbstractList<String>() {
|
|
override fun get(index: Int): String {
|
|
return ""
|
|
}
|
|
|
|
override val size: Int get() = 0
|
|
}
|