blob: c2160d2ec5d6b54a888b20791360049282b0e67f [file] [log] [blame]
// "Add remaining branches" "true"
// ERROR: Unresolved reference: TODO
// ERROR: Unresolved reference: TODO
// ERROR: Unresolved reference: TODO
sealed class Variant {
object Singleton : Variant()
class Something(val x: Int) : Variant()
object Another : Variant()
}
fun test(v: Variant?) {
wh<caret>en(v) {
Variant.Singleton -> "s"
}
}