Humanize type mismatch diagnostic caused by type projections
#KT-10581 Fixed
This commit is contained in:
+1
-1
@@ -2,5 +2,5 @@
|
||||
|
||||
fun foo() {
|
||||
val f : Function1<*, *> = { x -> x.toString() }
|
||||
f(<!CONSTANT_EXPECTED_TYPE_MISMATCH!>1<!>)
|
||||
<!MEMBER_PROJECTED_OUT!>f<!>(1)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user