Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
4f8dad3e4ba00e23b4182ef4c50194b20bd43c8f
/
.
/
compiler
/
testData
/
diagnostics
/
tests
/
dataClasses
/
conflictingCopyOverloads.fir.kt
blob: 6433094e08a64177b642084294c5e776d184ae2f [
file
]
// !DIAGNOSTICS: -UNUSED_PARAMETER
data
class
A
(
val x
:
Int
,
val y
:
String
)
{
<!
CONFLICTING_OVERLOADS
!>
fun copy
(
x
:
Int
,
y
:
String
)<!>
=
x
<!
CONFLICTING_OVERLOADS
!>
fun copy
(
x
:
Int
,
y
:
String
)<!>
=
A
(
x
,
y
)
}