Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
0c8f3faeecbeecb0d1430ef2b86dd192a029711c
/
.
/
compiler
/
testData
/
codegen
/
box
/
objects
/
anonymousObjectAndContrvariantProjection.kt
blob: e19a397188593efdd8e5840c4875fdf18df40e41 [
file
]
// ISSUE: KT-57222
interface
Invariant
<
A
>
fun
Invariant
<
in
Number
>.
publicFunc
()
=
privateFunc
()
private
fun
<
B
>
Invariant
<
B
>.
privateFunc
()
=
object
:
Invariant
<
B
>
{}
fun box
()
=
"OK"