Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
9fc4d94d04f972782fee2dc5b3b25d052d88601a
/
.
/
compiler
/
testData
/
diagnostics
/
tests
/
destructuring
/
destructuringInInitializer.kt
blob: d1de553869c1883d9a4fdb30d384eb672443b22b [
file
]
// FIR_IDENTICAL
class
A
{
operator
fun component1
()
=
"O"
operator
fun component2
()
=
"K"
}
class
Foo
{
val bar
=
if
(
true
)
""
else
{
val
(
o
,
k
)
=
A
()
o
+
k
}
init
{
val
(
o
,
k
)
=
A
()
val r
=
o
+
k
}
}