Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
fae15b3fc4205675bfb51513d6068f83490926d3
/
.
/
compiler
/
testData
/
codegen
/
box
/
safeCall
/
safeCallIOnUninitializedNonNullValue.kt
blob: 72bab9b37f4dbb48453a2d0868e8a33e68ca2b60 [
file
] [
log
] [
blame
]
abstract
class
Base
()
{
init
{
foo
()
}
abstract
fun foo
()
}
class
Derived
(
val x
:
String
)
:
Base
()
{
override
fun foo
()
{
x
?.
length
}
}
fun box
():
String
{
Derived
(
""
)
return
"OK"
}