[NI] Don't fail on captured type that contains type variable

This commit is contained in:
Mikhail Zarechenskiy
2018-01-17 18:27:12 +03:00
parent 145c04e7e2
commit 4cd07f59a0
7 changed files with 63 additions and 15 deletions
@@ -18,5 +18,5 @@ fun <T> fout(<!UNUSED_PARAMETER!>expression<!> : T) : Out<<!REDUNDANT_PROJECTION
fun fooout() : Out<Point> {
val p = Point();
return <!NI;TYPE_MISMATCH!>fout<Point>(p)<!>;
return fout<Point>(p);
}