Folding: fold "when" expression (KT-6314)
#KT-6314 Fixed
This commit is contained in:
committed by
Nikolay Krasko
parent
cfcecaaeab
commit
6e852837f7
+7
@@ -0,0 +1,7 @@
|
||||
fun test(i: Int) <fold text='{...}' expand='true'>{
|
||||
when (i) <fold text='{...}' expand='true'>{
|
||||
1 -> println(1)
|
||||
2 -> println(2)
|
||||
else -> println(0)
|
||||
}</fold>
|
||||
}</fold>
|
||||
Reference in New Issue
Block a user