Fix testData: diagnostics changed.

This commit is contained in:
Ilya Gorbunov
2016-01-16 20:10:58 +03:00
parent ef0d998fbc
commit 2813840769
2 changed files with 7 additions and 7 deletions
@@ -2,8 +2,8 @@
interface A
class B : A
fun foo1(list: List<A>, arg: B?): Boolean {
// contains(T): Boolean is deprecated
return arg <!DEPRECATION!>in<!> list
// Type mismatch
return <!TYPE_MISMATCH!>arg<!> in list
}
fun foo2(list: List<A>, arg: B?): Boolean {
// FAKE: no cast needed