e6b5cb5216
Update includes:
- Changing syntax of `OI/`NI` tags from `<!NI;TAG!>` to `<!TAG{NI}!>`
- Fix some incorrect directives
- Change order of diagnostics in some places
- Remove ignored diagnostics from FIR test data (previously `DIAGNOSTICS` didn't work)
- Update FIR dumps in some places and add `FIR_IDENTICAL` if needed
- Replace all JAVAC_SKIP with SKIP_JAVAC directive
46 lines
1.4 KiB
Plaintext
Vendored
46 lines
1.4 KiB
Plaintext
Vendored
FILE: methodOfAnyImplementedInInterface.kt
|
|
public abstract interface A : R|kotlin/Any| {
|
|
public open override fun toString(): R|kotlin/String| {
|
|
^toString String(Hello)
|
|
}
|
|
|
|
public open override operator fun equals(other: R|kotlin/Any?|): R|kotlin/Boolean| {
|
|
^equals Boolean(true)
|
|
}
|
|
|
|
public open override fun hashCode(): R|kotlin/Int| {
|
|
^hashCode Int(42)
|
|
}
|
|
|
|
}
|
|
public abstract interface B : R|kotlin/Any| {
|
|
public abstract override fun toString(): R|kotlin/String|
|
|
|
|
public abstract override operator fun equals(other: R|kotlin/Any?|): R|kotlin/Boolean|
|
|
|
|
public abstract override fun hashCode(): R|kotlin/Int|
|
|
|
|
}
|
|
public abstract interface C : R|kotlin/Any| {
|
|
public open override operator fun toString(): R|kotlin/String| {
|
|
^toString String(Rest)
|
|
}
|
|
|
|
public open override operator fun equals(other: R|kotlin/Any?|): R|kotlin/Boolean| {
|
|
^equals Boolean(false)
|
|
}
|
|
|
|
public open override operator fun hashCode(): R|kotlin/Int| {
|
|
^hashCode Int(2)
|
|
}
|
|
|
|
}
|
|
public abstract interface D : R|kotlin/Any| {
|
|
public abstract override operator fun toString(): R|kotlin/String|
|
|
|
|
public abstract override operator fun equals(other: R|kotlin/Any?|): R|kotlin/Boolean|
|
|
|
|
public abstract override operator fun hashCode(): R|kotlin/Int|
|
|
|
|
}
|