Removed hacks for code migration from ConstraintSystemImpl.

This commit is contained in:
Stanislav Erokhin
2016-01-25 16:15:20 +03:00
parent 7703252239
commit e53e152f83
14 changed files with 23 additions and 36 deletions
@@ -3,7 +3,7 @@ interface A
class B : A
fun foo1(list: List<A>, arg: B?): Boolean {
// Type mismatch
return <!TYPE_MISMATCH!>arg<!> in list
return arg <!TYPE_INFERENCE_ONLY_INPUT_TYPES!>in<!> list // resolved to extension
}
fun foo2(list: List<A>, arg: B?): Boolean {
// FAKE: no cast needed