FIR IDE: add tests for completion in sealed when

This commit is contained in:
Ilya Kirillov
2021-05-27 15:06:30 +02:00
committed by TeamCityServer
parent 9af0885e82
commit 0da488058d
15 changed files with 320 additions and 0 deletions
@@ -0,0 +1,21 @@
abstract class SEALED
class AAAA: SEALED()
object BBBB: SEALED()
class CCCC: SEALED()
class SomeClass
object SomeObject
fun foo(e: SEALED) {
when (e) {
<caret>
}
}
// EXIST: is AAAA
// EXIST: BBBB
// EXIST: is CCCC
// EXIST: is SomeClass
// EXIST: SomeObject
// EXIST: { lookupString: "else -> "}
// FIR_COMPARISON