FE: Fix null assertion error when left is CollectionLiteral
#KT-49961 fixed
This commit is contained in:
committed by
Victor Petukhov
parent
bd299ed12c
commit
eb1d7110ec
@@ -0,0 +1,10 @@
|
||||
class Xyz {
|
||||
fun x(): String? {
|
||||
return try {
|
||||
<!UNSUPPORTED!>[<!UNRESOLVED_REFERENCE!>a<!>]<!> <!USELESS_ELVIS!>?: <!UNRESOLVED_REFERENCE!>XYZ<!><!>
|
||||
}
|
||||
catch (e: Exception) {
|
||||
null
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user