Humanize type mismatch diagnostic caused by type projections
#KT-10581 Fixed
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
// !DIAGNOSTICS_NUMBER: 1
|
||||
// !DIAGNOSTICS: MEMBER_PROJECTED_OUT
|
||||
|
||||
fun foo(x: MutableCollection<out CharSequence>) {
|
||||
x.add("")
|
||||
}
|
||||
Reference in New Issue
Block a user