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
26 lines
456 B
Kotlin
Vendored
26 lines
456 B
Kotlin
Vendored
interface In<in T>
|
|
interface Out<out T>
|
|
interface Inv<T>
|
|
|
|
fun <T> getT(): T = null!!
|
|
|
|
class Test<in I, out O, P>(
|
|
val type1: I,
|
|
val type2: O,
|
|
val type3: P,
|
|
val type4: In<I>,
|
|
val type5: In<O>,
|
|
|
|
var type6: I,
|
|
var type7: O,
|
|
var type8: P,
|
|
var type9: In<I>,
|
|
var type0: In<O>,
|
|
|
|
type11: I,
|
|
type12: O,
|
|
type13: P,
|
|
type14: In<I>,
|
|
type15: In<O>
|
|
)
|