Fixed KT-1295, first part of removing 'println'. Undo part is still not working.

This commit is contained in:
Alefas
2012-02-15 19:38:42 +04:00
parent 4ef61d331b
commit c643b1cf45
8 changed files with 167 additions and 4 deletions
@@ -0,0 +1,15 @@
fun a() {
when (1) {
is 1 -> println(<selection>2</selection>)
}
}
/*
fun a() {
when (1) {
is 1 -> {
val i = 2
println(i)
}
}
}
*/