Files
kotlin-fork/idea/testData/quickfix/createFromUsage/createVariable/localVariable/afterInFunWithExpressionBody.kt
T
2014-09-30 19:55:46 +04:00

9 lines
172 B
Kotlin

// "Create local variable 'foo'" "true"
// ACTION: Create parameter 'foo'
// ERROR: Variable 'foo' must be initialized
fun test(): Int {
val foo: Int
return foo
}