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
22 lines
687 B
Plaintext
Vendored
22 lines
687 B
Plaintext
Vendored
FILE: defaultParametersFromDifferentScopes.kt
|
|
public abstract interface Foo : R|kotlin/Any| {
|
|
public abstract fun some(x: R|kotlin/Int| = Int(1), y: R|kotlin/Int|): R|kotlin/Unit|
|
|
|
|
}
|
|
public abstract interface Bar : R|kotlin/Any| {
|
|
public abstract fun some(x: R|kotlin/Int|, y: R|kotlin/Int| = Int(2)): R|kotlin/Unit|
|
|
|
|
}
|
|
public final class Impl : R|Foo|, R|Bar| {
|
|
public constructor(): R|Impl| {
|
|
super<R|kotlin/Any|>()
|
|
}
|
|
|
|
public final override fun some(x: R|kotlin/Int|, y: R|kotlin/Int|): R|kotlin/Unit| {
|
|
}
|
|
|
|
}
|
|
public final fun main(): R|kotlin/Unit| {
|
|
R|/Impl.Impl|().R|/Impl.some|()
|
|
}
|