[FIR] KT-54587: Report the missing diagnostics

^KT-54587 Fixed

Merge-request: KT-MR-7791
Merged-by: Nikolay Lunyak <Nikolay.Lunyak@jetbrains.com>
This commit is contained in:
Nikolay Lunyak
2022-11-25 10:19:58 +00:00
committed by Space Team
parent 3f95b7e031
commit a454d42e65
10 changed files with 135 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
// FIR_IDENTICAL
package one
fun test(f: NextMissing) {
for(i in <!NEXT_NONE_APPLICABLE!>f<!>) {} //[NEXT_NONE_APPLICABLE] is expected as in K1
}
interface Doo
operator fun Doo.next() {}
interface NextMissing {
operator fun iterator(): NextMissing2
}
interface NextMissing2 {
operator fun hasNext(): Boolean
}