Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
2a568be17b8f4a9af8f61b27d156c07d37c12fdc
/
.
/
compiler
/
testData
/
diagnostics
/
tests
/
shadowing
/
ShadowMultiDeclarationWithFunParameter.kt
blob: bfc7f094c9482b288386ba1ad6e115e9ca5435a9 [
file
]
class
A
{
operator
fun component1
()
=
42
operator
fun component2
()
=
42
}
fun foo
(
a
:
A
,
c
:
Int
)
{
val
(<!
NAME_SHADOWING
!>
a
<!>,
b
)
=
a
val arr
=
Array
(
2
)
{
A
()
}
for
((<!
NAME_SHADOWING
!>
c
<!>,
d
)
in
arr
)
{
}
val e
=
a
.
toString
()
+
b
+
c
}