Create From Usage: Quick-fix for local variables

This commit is contained in:
Alexey Sedunov
2014-09-29 16:05:17 +04:00
parent e85d34b445
commit 4ca39e8f9a
20 changed files with 281 additions and 19 deletions
@@ -0,0 +1,9 @@
// "Create local variable 'foo'" "true"
// ACTION: Create parameter 'foo'
// ERROR: Variable 'foo' must be initialized
fun test(): Int {
val foo: Int
return foo
}