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
20 lines
739 B
Plaintext
Vendored
20 lines
739 B
Plaintext
Vendored
FILE: main.kt
|
|
public abstract interface A : R|kotlin/Any| {
|
|
}
|
|
public final val R|A|.foo: R|kotlin/Int|
|
|
public get(): R|kotlin/Int| {
|
|
^ Int(1)
|
|
}
|
|
public final fun bar(a: R|A|): R|kotlin/Unit| {
|
|
R|<local>/a|.R|/foo|.R|/checkType|<R|kotlin/Int|>(checkType@fun R|CheckTypeInv<kotlin/Int>|.<anonymous>(): R|kotlin/Unit| {
|
|
this@R|special/anonymous|.R|/_|<R|kotlin/Int|>()
|
|
}
|
|
)
|
|
}
|
|
public final fun R|JavaClass|.bar(a: R|A|): R|kotlin/Unit| {
|
|
R|<local>/a|.R|/foo|.R|/checkType|<R|kotlin/Int|>(checkType@fun R|CheckTypeInv<kotlin/Int>|.<anonymous>(): R|kotlin/Unit| {
|
|
this@R|special/anonymous|.R|/_|<R|kotlin/Int|>()
|
|
}
|
|
)
|
|
}
|