Update FirOldFrontendDiagnosticsTestGenerated tests
This commit is contained in:
-7
@@ -1,7 +0,0 @@
|
||||
Failures detected in FirBodyResolveTransformerAdapter, file: /kt41308.fir.kt
|
||||
Cause: java.lang.RuntimeException: While resolving call R?C|kotlin/sequences/sequence|(<L> = sequence@fun R|kotlin/sequences/SequenceScope<Stub: TypeVariable(T)>|.<anonymous>(): R|kotlin/Unit| {
|
||||
lval list: R|kotlin/collections/List<kotlin/String>?| = Null(null)
|
||||
lval outputList: R|TypeVariable(K)| = R|<local>/list| ?: R?C|kotlin/collections/listOf|()
|
||||
yieldAll#(R|<local>/outputList|)
|
||||
}
|
||||
)
|
||||
+9
@@ -0,0 +1,9 @@
|
||||
// ISSUE: KT-41308, KT-47830
|
||||
|
||||
fun main() {
|
||||
sequence {
|
||||
val list: List<String>? = null
|
||||
val outputList = <!DEBUG_INFO_EXPRESSION_TYPE("kotlin.collections.List<kotlin.String>")!>list ?: listOf()<!>
|
||||
yieldAll(outputList)
|
||||
}
|
||||
}
|
||||
@@ -1,4 +1,3 @@
|
||||
// FIR_IDENTICAL
|
||||
// ISSUE: KT-41308, KT-47830
|
||||
|
||||
fun main() {
|
||||
|
||||
Reference in New Issue
Block a user