[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:
+19
@@ -0,0 +1,19 @@
|
||||
FILE: genericUsedInFunction.kt
|
||||
public final class Generic<T : R|kotlin/CharSequence?|> : R|kotlin/Any| {
|
||||
public constructor<T : R|kotlin/CharSequence?|>(value: R|T|): R|Generic<T>| {
|
||||
super<R|kotlin/Any|>()
|
||||
}
|
||||
|
||||
public final val value: R|T| = R|<local>/value|
|
||||
public get(): R|T|
|
||||
|
||||
public final fun foo(): R|T| {
|
||||
^foo this@R|/Generic|.R|/Generic.value|
|
||||
}
|
||||
|
||||
}
|
||||
public final fun test(arg: R|Generic<kotlin/String>|): R|kotlin/Unit| {
|
||||
lval value: R|kotlin/String| = R|<local>/arg|.R|SubstitutionOverride</Generic.value: R|kotlin/String|>|
|
||||
lval foo: R|kotlin/String| = R|<local>/arg|.R|SubstitutionOverride</Generic.foo: R|kotlin/String|>|()
|
||||
lval length: R|kotlin/Int| = R|<local>/foo|.R|kotlin/String.length|.R|kotlin/Int.plus|(R|<local>/value|.R|kotlin/String.length|)
|
||||
}
|
||||
Reference in New Issue
Block a user