Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
ebcc2cc3b207156c1c0e90e5107aa356b8fa8d72
/
.
/
compiler
/
testData
/
codegen
/
box
/
fieldRename
/
genericPropertyWithItself.kt
blob: ea584c3a917ffbb67b2f53dfc92531e07bc7bc7a [
file
]
public
class
MPair
<
out
A
>
(
public
val first
:
A
)
{
override
fun equals
(
o
:
Any
?):
Boolean
{
val t
=
o
as
MPair
<*>
return
first
==
t
.
first
}
}
fun box
():
String
{
val a
=
MPair
(
"O"
)
a
.
equals
(
a
)
return
"OK"
}