[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:
committed by
Space Team
parent
3f95b7e031
commit
a454d42e65
@@ -0,0 +1,12 @@
|
||||
// FIR_IDENTICAL
|
||||
class MyClass
|
||||
class SomeClass
|
||||
|
||||
operator fun SomeClass.component1() {}
|
||||
operator fun SomeClass.component2() {}
|
||||
|
||||
fun test() {
|
||||
val (o, o2) = SomeClass()
|
||||
val (o3, o4) = <!COMPONENT_FUNCTION_MISSING, COMPONENT_FUNCTION_MISSING!>MyClass()<!> // [COMPONENT_FUNCTION_MISSING] expected as in K1
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user