Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
9fc4d94d04f972782fee2dc5b3b25d052d88601a
/
.
/
compiler
/
testData
/
diagnostics
/
tests
/
dataClasses
/
conflictingCopyOverloads.kt
blob: 8f6726e540302661a2c32c9e48070404fccef07a [
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
)
}