Create From Usage: Fix rendering of nullable types
This commit is contained in:
+8
@@ -0,0 +1,8 @@
|
||||
// "Create local variable 'foo'" "true"
|
||||
// ERROR: Variable 'foo' must be initialized
|
||||
|
||||
fun test(): Int? {
|
||||
val foo: Int?
|
||||
|
||||
return foo
|
||||
}
|
||||
+6
@@ -0,0 +1,6 @@
|
||||
// "Create local variable 'foo'" "true"
|
||||
// ERROR: Variable 'foo' must be initialized
|
||||
|
||||
fun test(): Int? {
|
||||
return <caret>foo
|
||||
}
|
||||
Reference in New Issue
Block a user