Files
kotlin-fork/idea/testData/quickfix/addExclExclCall/null.kt
T
2019-06-17 01:10:19 +03:00

9 lines
327 B
Kotlin
Vendored

// "Add non-null asserted (!!) call" "false"
// ACTION: Convert to lazy property
// ACTION: Add 'const' modifier
// ACTION: Add 'toString()' call
// ACTION: Change type of 'x' to 'String?'
// ACTION: Convert property initializer to getter
// ERROR: Null can not be a value of a non-null type String
val x: String = null<caret>