[FIR-TEST] Update testdata of old FE contracts tests

This commit is contained in:
Dmitriy Novozhilov
2020-04-13 15:04:10 +03:00
parent fea7872359
commit 2e4183db7d
37 changed files with 179 additions and 100 deletions
@@ -29,7 +29,7 @@ fun notIsInt(x: Any?): Boolean {
fun intersectingInfo(x: Any?, y: Any?) {
if ((isString(x) && y is String) || (!notIsString(x) && !notIsInt(y))) {
x.<!UNRESOLVED_REFERENCE!>length<!>
x.length
y.<!UNRESOLVED_REFERENCE!>length<!>
y.<!AMBIGUITY!>inc<!>()
}
@@ -48,7 +48,7 @@ fun intersectingInfo2(x: Any?, y: Any?) {
if ((isString(x) && !notIsInt(x) && y is String) ||
(!notIsString(x) && isString(y) && y is Int) ||
(x is String && !notIsInt(y) && x is Int)) {
x.<!UNRESOLVED_REFERENCE!>length<!>
x.length
x.<!AMBIGUITY!>inc<!>()
y.<!UNRESOLVED_REFERENCE!>length<!>
y.<!AMBIGUITY!>inc<!>()