Fix tests
Relates to #KT-30622
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
// "Cast expression 's' to 'String'" "false"
|
||||
// ACTION: Add 's =' to argument
|
||||
// ACTION: Add 'toString()' call
|
||||
// ACTION: Add non-null asserted (!!) call
|
||||
// ACTION: Change parameter 's' type of function 'bar' to 'String?'
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
// "Surround with lambda" "false"
|
||||
// ERROR: Null can not be a value of a non-null type () -> String
|
||||
// ACTION: Add 'block =' to argument
|
||||
// ACTION: Change parameter 'block' type of function 'str' to '(() -> String)?'
|
||||
// ACTION: Do not show hints for current method
|
||||
fun nullFn() {
|
||||
|
||||
Reference in New Issue
Block a user