[NI] Add check for non-null argument type in arguments check
#KT-31461 Fixed
This commit is contained in:
+3
-3
@@ -15,6 +15,6 @@ fun <S> test1(a: ParameterizedChild<S>?, b: Child): Base<S> = myRun {
|
||||
elvis(a, b)
|
||||
}
|
||||
|
||||
fun <S> test2(a: S?, b: S): S = <!TYPE_MISMATCH!>myRun {
|
||||
<!TYPE_MISMATCH!>select(a, b)<!>
|
||||
}<!>
|
||||
fun <S> test2(a: S?, b: S): S = myRun {
|
||||
<!TYPE_MISMATCH, TYPE_MISMATCH!>select(a, b)<!>
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user