FIR: Improve rendering for type operators
This commit is contained in:
@@ -8,8 +8,8 @@ FILE: lists.kt
|
||||
|
||||
}
|
||||
public final fun R|kotlin/collections/List<kotlin/String>|.convert(): R|MyStringList| {
|
||||
^convert as/R|MyStringList|(this#)
|
||||
^convert (this# as R|MyStringList|)
|
||||
}
|
||||
public final fun ret(l: R|kotlin/collections/MutableList<kotlin/String>|): R|MyMutableStringList| {
|
||||
^ret as/R|MyMutableStringList|(this#)
|
||||
^ret (this# as R|MyMutableStringList|)
|
||||
}
|
||||
|
||||
@@ -2,7 +2,7 @@ FILE: genericFunctions.kt
|
||||
public abstract interface Any {
|
||||
}
|
||||
<reified T : R|Any|> public final inline fun R|Any|.safeAs(): R|T|? {
|
||||
^safeAs as?/R|T|(this#)
|
||||
^safeAs (this# as? R|T|)
|
||||
}
|
||||
public abstract class Summator {
|
||||
public constructor(): super<R|kotlin/Any|>()
|
||||
|
||||
Reference in New Issue
Block a user