Add quick-fix for 'is' absence in when #KT-18810 Fixed

This commit is contained in:
Toshiaki Kameyama
2018-05-17 17:51:42 +03:00
committed by Mikhail Glukhikh
parent 2427406a8f
commit c344354395
6 changed files with 90 additions and 0 deletions
+9
View File
@@ -0,0 +1,9 @@
// "Add 'is' before 'Foo'" "true"
class Foo
fun test(a: Any) {
when (a) {
<caret>Foo -> {}
}
}
@@ -0,0 +1,9 @@
// "Add 'is' before 'Foo'" "true"
class Foo
fun test(a: Any) {
when (a) {
is Foo<caret> -> {}
}
}