[FIR-TEST] Move analysis tests to separate module
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
abstract class MyStringList : List<String>
|
||||
abstract class MyMutableStringList : MutableList<String>
|
||||
|
||||
fun List<String>.convert(): MyStringList = this as MyStringList
|
||||
fun ret(l: MutableList<String>): MyMutableStringList = l as MyMutableStringList
|
||||
@@ -0,0 +1,19 @@
|
||||
FILE: lists.kt
|
||||
public abstract class MyStringList : R|kotlin/collections/List<kotlin/String>| {
|
||||
public constructor(): R|MyStringList| {
|
||||
super<R|kotlin/Any|>()
|
||||
}
|
||||
|
||||
}
|
||||
public abstract class MyMutableStringList : R|kotlin/collections/MutableList<kotlin/String>| {
|
||||
public constructor(): R|MyMutableStringList| {
|
||||
super<R|kotlin/Any|>()
|
||||
}
|
||||
|
||||
}
|
||||
public final fun R|kotlin/collections/List<kotlin/String>|.convert(): R|MyStringList| {
|
||||
^convert (this@R|/convert| as R|MyStringList|)
|
||||
}
|
||||
public final fun ret(l: R|kotlin/collections/MutableList<kotlin/String>|): R|MyMutableStringList| {
|
||||
^ret (R|<local>/l| as R|MyMutableStringList|)
|
||||
}
|
||||
Reference in New Issue
Block a user