Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
5e49b472f81ed95098eec9749aa2ad0415fac731
/
.
/
compiler
/
testData
/
codegen
/
script
/
twoDestructuringDeclarations.kts
blob: 9c65a7242a6269eeff7f825d06468a50ef56f703 [
file
]
val
(
a
,
b
)
=
A
()
val
(
c
,
d
)
=
B
()
val rv
=
(
a
+
b
)
*
(
c
+
d
)
class
A
{
operator
fun component1
()
=
1
operator
fun component2
()
=
5
}
class
B
{
operator
fun component1
()
=
3
operator
fun component2
()
=
4
}
// expected: rv: 42