FIR IDE: Fix testdata for FirOverrideImplementTest

It seems like those super calls' insertions were fixed somewhere

GitOrigin-RevId: 39830bdd3b239bfbbbddca036b4b42f8d3e72c4d
This commit is contained in:
Roman Golyshev
2022-01-22 11:04:51 +00:00
committed by intellij-monorepo-bot
parent a409b8f80c
commit b617e5957a
4 changed files with 3 additions and 31 deletions
@@ -1,3 +1,4 @@
// FIR_IDENTICAL
open class Base<A, B, C>() {
open val method : (A?) -> A = { it!! }
open fun foo(value : B) : B = value
@@ -1,3 +1,4 @@
// FIR_IDENTICAL
open class Base<A, B, C>() {
open val method : (A?) -> A = { it!! }
open fun foo(value : B) : B = value
@@ -1,30 +0,0 @@
open class Base<A, B, C>() {
open val method : (A?) -> A = { it!! }
open fun foo(value : B) : B = value
open fun bar(value : () -> C) : (String) -> C = { value() }
}
class C : Base<String, C, Unit>() {
override fun bar(value: () -> Unit): (String) -> Unit {
<selection><caret>return super.bar(value)</selection>
}
override fun equals(other: Any?): Boolean {
return super.equals(other)
}
override fun foo(value: C): C {
return super.foo(value)
}
override fun hashCode(): Int {
return super.hashCode()
}
override val method: (String?) -> String
get() = method
override fun toString(): String {
return super.toString()
}
}
@@ -7,7 +7,7 @@ class C : A() {
val constant = 42
// Some comment
override val bar: Int
get() = <selection><caret>bar</selection>
get() = <selection><caret>super.bar</selection>
override fun equals(other: Any?): Boolean {
return super.equals(other)