Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
6fc27c22f44d8051bf2e89f1657c0d9741c281c0
/
.
/
compiler
/
testData
/
diagnostics
/
tests
/
declarationChecks
/
RedeclarationsInMultiDecl.fir.kt
blob: 0c7b4aad47f020ccbdfd186e0dea15a1221f8376 [
file
]
class
A
{
operator
fun component1
()
:
Int
=
1
operator
fun component2
()
:
Int
=
2
}
fun a
()
{
val
(
a
,
a
)
=
A
()
val
(
x
,
y
)
=
A
();
val b
=
1
use
(
b
)
val
(
b
,
y
)
=
A
();
}
fun
use
(
a
:
Any
):
Any
=
a