Add quick-fix for 'is' absence in when #KT-18810 Fixed
This commit is contained in:
committed by
Mikhail Glukhikh
parent
2427406a8f
commit
c344354395
@@ -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> -> {}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user