FIR LC: use optimal type mapping mode for return type

This commit is contained in:
Jinseong Jeon
2021-11-04 00:17:01 -07:00
committed by Ilya Kirillov
parent d3c34fa200
commit 0da9ef873a
8 changed files with 43 additions and 8 deletions
@@ -6,4 +6,6 @@ class PlatformTypes {
fun simplyPlatform() = Collections.singletonList("")[0]
fun bothNullable() = Collections.emptyList<String>() ?: null
fun bothNotNull() = Collections.emptyList<String>()!!
}
}
// FIR_COMPARISON
@@ -51,3 +51,5 @@ class Container {
fun <Q : Final> typeParameter(x: Out<Q>, y: In<Q>) {}
}
// FIR_COMPARISON