FIR checker: report non-typed LHS of callable references
This commit is contained in:
committed by
Mikhail Glukhikh
parent
329be4f906
commit
33c5b49632
@@ -9,8 +9,8 @@ val l1 = <!NULLABLE_TYPE_IN_CLASS_LITERAL_LHS!>List<String>?::class<!>
|
||||
val l2 = <!NULLABLE_TYPE_IN_CLASS_LITERAL_LHS!>List?::class<!>
|
||||
|
||||
fun <T : Any> foo() {
|
||||
val t1 = <!OTHER_ERROR!>T<!>::class
|
||||
val t2 = <!OTHER_ERROR!>T<!>?::class
|
||||
val t1 = <!TYPE_PARAMETER_IS_NOT_AN_EXPRESSION!>T<!>::class
|
||||
val t2 = <!TYPE_PARAMETER_IS_NOT_AN_EXPRESSION!>T<!>?::class
|
||||
}
|
||||
|
||||
inline fun <reified T : Any> bar() {
|
||||
|
||||
Reference in New Issue
Block a user