Member functions of enum should not be in smart completion
This commit is contained in:
+4
-2
@@ -1,8 +1,9 @@
|
||||
package sample
|
||||
|
||||
enum class Foo {
|
||||
X,
|
||||
Y
|
||||
X, Y;
|
||||
|
||||
fun foo(): Foo = this
|
||||
}
|
||||
|
||||
fun foo(){
|
||||
@@ -11,3 +12,4 @@ fun foo(){
|
||||
|
||||
// EXIST: { lookupString:"X", itemText:"Foo.X", tailText:" (sample)", typeText:"Foo" }
|
||||
// EXIST: { lookupString:"Y", itemText:"Foo.Y", tailText:" (sample)", typeText:"Foo" }
|
||||
// ABSENT: { itemText:"Foo.foo" }
|
||||
|
||||
Reference in New Issue
Block a user