9f0f6f862a
The modality was nondeterministic before. The main change sits in OverrideResolver: the logic of "fake override" generation is restructured so that all the descriptors a newly created "fake" one overrides are known by the time it is created, so its modality can be determined properly from their modalities. Also, the ReadJavaBinaryClassTestGenerated is now a clear JUnit3 test case
12 lines
215 B
Kotlin
12 lines
215 B
Kotlin
package test
|
|
|
|
import java.util.AbstractList
|
|
|
|
public open class ModalityOfFakeOverrides : AbstractList<String>() {
|
|
override fun get(p0: Int): String? {
|
|
return ""
|
|
}
|
|
|
|
override fun size(): Int = 0
|
|
}
|