KT-4008 'Replace if with when' is available but does not work

This commit is contained in:
Alexey Sedunov
2013-10-11 13:57:00 +04:00
parent e05e616158
commit eff62bfd83
7 changed files with 53 additions and 6 deletions
@@ -4,8 +4,11 @@
// ERROR: Unreachable code
// ERROR: Unreachable code
// ACTION: Disable 'Eliminate Argument of 'when''
// ACTION: Disable 'Replace 'when' with 'if''
// ACTION: Edit intention settings
// ACTION: Edit intention settings
// ACTION: Eliminate argument of 'when'
// ACTION: Replace 'when' with 'if'
package foo
fun foo() {