Fixed 'OnlyInputTypes' working with number types

This commit is contained in:
Svetlana Isakova
2015-10-21 15:09:05 +03:00
parent 9877fe1a26
commit b24cb2a326
4 changed files with 27 additions and 17 deletions
@@ -11,6 +11,9 @@ class D
fun test1(a: A, b: B, c: C) {
assertEquals1(a, b)
<!TYPE_INFERENCE_ONLY_INPUT_TYPES!>assertEquals1<!>(b, c)
assertEquals1(3, 3)
assertEquals1(1 or 2, 2 or 1)
}
@Suppress("INVISIBLE_MEMBER", "INVISIBLE_REFERENCE")