Files
kotlin-fork/idea/testData/quickfix/addExclExclCall/null.kt
T
2017-07-03 15:13:46 +03:00

8 lines
291 B
Kotlin
Vendored

// "Add non-null asserted (!!) call" "false"
// 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>