[NI] Run arguments checker before outer call checker

This is needed because arguments checker updates unsubstituted and
 non-denotable types (type variables, IntegerValueType...)

 #KT-28718 Fixed
This commit is contained in:
Mikhail Zarechenskiy
2019-01-10 14:57:11 +03:00
parent 55498450d1
commit bcc720f1db
7 changed files with 35 additions and 1 deletions
@@ -0,0 +1,8 @@
// !LANGUAGE: +ProperIeee754Comparisons +NewInference
fun box(): String {
if (-0.0 < 0.0) return "Fail 1"
if (-0.0 < 0) return "Fail 2"
return "OK"
}