Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
ba045e44fbc13a4a8bcfa03689115fd0a25366a9
/
.
/
compiler
/
testData
/
codegen
/
box
/
innerNested
/
innerGeneric.kt
blob: 36a6bda1e99410490fe0e2ec4f60f882d0e9c751 [
file
] [
log
] [
blame
]
class
Outer
{
inner
class
Inner
<
T
>(
val t
:
T
)
{
fun box
()
=
t
}
}
fun box
():
String
{
if
(
Outer
().
Inner
(
"OK"
).
box
()
!=
"OK"
)
return
"Fail"
val x
:
Outer
.
Inner
<
String
>
=
Outer
().
Inner
(
"OK"
)
return
x
.
box
()
}