1bbcae5ed2
We cannot call lazy resolve to STATUS phase from scopes as scopes may be accessed on a STATUS phase or earlier ^KT-54890 ^KTIJ-23587 fixed
23 lines
383 B
Kotlin
Vendored
23 lines
383 B
Kotlin
Vendored
// FIR_IDENTICAL
|
|
// SKIP_TXT
|
|
// FILE: f1.kt
|
|
|
|
package kotlin
|
|
|
|
class Unit
|
|
|
|
// FILE: f2.kt
|
|
|
|
class C: MutableIterator<Int> {
|
|
override fun remove(): Unit {
|
|
throw UnsupportedOperationException()
|
|
}
|
|
override fun next(): Int {
|
|
throw UnsupportedOperationException()
|
|
}
|
|
override fun hasNext(): Boolean {
|
|
throw UnsupportedOperationException()
|
|
}
|
|
|
|
}
|