Files
kotlin-fork/idea/idea-completion/testData/keywords/SealedForFunInterface.kt
T
Andrei Klunnyi f02b73103b KTIJ-650 [Code completion]: no "sealed" for classes with modifiers
annotation, data, enum, inner, open - classes supplied with these
modifiers cannot be sealed.

Commit fixes code completion - "sealed" is no longer suggested in
the mentioned case.
2020-12-15 18:43:00 +01:00

6 lines
87 B
Kotlin
Vendored

seal<caret> fun interface A {
fun aFunction()
}
// EXIST: "sealed"
// NOTHING_ELSE