Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
9fc4d94d04f972782fee2dc5b3b25d052d88601a
/
.
/
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
}