[TD] Update diagnostics test data due to new test runners
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
This commit is contained in:
@@ -0,0 +1,52 @@
|
||||
FILE: nestedClassContructor.kt
|
||||
public open class A : R|kotlin/Any| {
|
||||
public constructor(): R|A| {
|
||||
super<R|kotlin/Any|>()
|
||||
}
|
||||
|
||||
public final class B : R|A| {
|
||||
public constructor(): R|A.B| {
|
||||
super<R|A|>()
|
||||
}
|
||||
|
||||
public final fun copy(): R|A.B| {
|
||||
^copy R|/A.B.B|()
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
public open class C : R|kotlin/Any| {
|
||||
public constructor(): R|A.C| {
|
||||
super<R|kotlin/Any|>()
|
||||
}
|
||||
|
||||
public final fun copy(): R|A.C| {
|
||||
^copy R|/A.C.C|()
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
public final class D : R|A.C| {
|
||||
public constructor(): R|D| {
|
||||
super<R|A.C|>()
|
||||
}
|
||||
|
||||
public final fun foo(): R|kotlin/Unit| {
|
||||
lval a: R|A| = R|/A.A|()
|
||||
lval ac: R|A.C| = Q|A|.R|/A.C.C|()
|
||||
lval c: R|ERROR CLASS: Unresolved name: C| = <Unresolved name: C>#()
|
||||
}
|
||||
|
||||
}
|
||||
public final class E : R|A| {
|
||||
public constructor(): R|E| {
|
||||
super<R|A|>()
|
||||
}
|
||||
|
||||
public final fun foo(): R|kotlin/Unit| {
|
||||
lval a: R|A| = R|/A.A|()
|
||||
lval c: R|A.C| = R|/A.C.C|()
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user