Equality for flexible types

This commit is contained in:
Andrey Breslav
2014-07-01 20:51:53 +04:00
parent a39d2bc24f
commit 549df3c0eb
6 changed files with 19 additions and 5 deletions
@@ -9,5 +9,5 @@ package a
fun foo() {
// If this fails, it means that we have broken the rule that Java returns are always nullable
a.Test<Int>().t() <!UNSAFE_INFIX_CALL!>+<!> 1
a.Test<Int>().t() + 1
}