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
33 lines
1.4 KiB
Plaintext
Vendored
33 lines
1.4 KiB
Plaintext
Vendored
FILE: test.kt
|
|
public abstract interface DescriptorWithAccessor : R|kotlin/Any| {
|
|
public abstract val setter: R|kotlin/String|
|
|
public get(): R|kotlin/String|
|
|
|
|
public abstract val isDelegated: R|kotlin/Boolean|
|
|
public get(): R|kotlin/Boolean|
|
|
|
|
}
|
|
public final class WrappedPropertyDescriptor : R|PropertyDescriptor| {
|
|
public constructor(): R|WrappedPropertyDescriptor| {
|
|
super<R|kotlin/Any|>()
|
|
}
|
|
|
|
public final override val setter: R|kotlin/String|
|
|
public get(): R|kotlin/String| {
|
|
^ String(K)
|
|
}
|
|
|
|
public final override val isDelegated: R|kotlin/Boolean|
|
|
public get(): R|kotlin/Boolean| {
|
|
^ Boolean(false)
|
|
}
|
|
|
|
}
|
|
public final fun test(): R|kotlin/Unit| {
|
|
lval descriptor: R|WrappedPropertyDescriptor| = R|/WrappedPropertyDescriptor.WrappedPropertyDescriptor|()
|
|
lval res1: R|kotlin/String| = R|<local>/descriptor|.R|/WrappedPropertyDescriptor.setter|
|
|
lval res2: R|ERROR CLASS: Unresolved name: getSetter| = R|<local>/descriptor|.<Unresolved name: getSetter>#()
|
|
lval res3: R|kotlin/Boolean| = R|<local>/descriptor|.R|/WrappedPropertyDescriptor.isDelegated|
|
|
lval res4: R|ERROR CLASS: Unresolved name: isDelegated| = R|<local>/descriptor|.<Unresolved name: isDelegated>#()
|
|
}
|