Create From Usage: Fix rendering of nullable types

This commit is contained in:
Alexey Sedunov
2014-10-07 18:28:40 +04:00
parent ff082be524
commit 2b43aad4f9
14 changed files with 144 additions and 5 deletions
@@ -0,0 +1,8 @@
// "Create local variable 'foo'" "true"
// ERROR: Variable 'foo' must be initialized
fun test(): Int? {
val foo: Int?
return foo
}
@@ -0,0 +1,6 @@
// "Create local variable 'foo'" "true"
// ERROR: Variable 'foo' must be initialized
fun test(): Int? {
return <caret>foo
}