Files
kotlin-fork/compiler/testData/diagnostics/tests/shadowing/ShadowVariableInNestedClosure.jet
T
Stepan Koltsov 07ff53d456 add trailing newlines to test files
otherwise I have to rollback dozens of files after using sed that follows conventions
2012-03-12 22:54:14 +04:00

6 lines
127 B
Plaintext

fun f(): Int {
var i = 17
<!UNUSED_FUNCTION_LITERAL!>{ (): Unit -> var <!NAME_SHADOWING!>i<!> = 18 }<!>
return i
}