Add diagnostics to test data from NI

This commit is contained in:
Mikhail Zarechenskiy
2017-11-22 08:50:30 +03:00
parent a71238bf94
commit 8757298994
480 changed files with 1136 additions and 1120 deletions
@@ -20,7 +20,7 @@ fun a() {
val b = Example()
a + b
a - b
a <!NI;OPERATOR_MODIFIER_REQUIRED!>-<!> b
a * b
a <!OPERATOR_MODIFIER_REQUIRED!>/<!> b
@@ -31,7 +31,7 @@ fun a() {
with (Example()) {
consumeInt(this + a)
consumeString(this - b)
consumeString(<!NI;TYPE_MISMATCH!>this <!NI;OPERATOR_MODIFIER_REQUIRED!>-<!> b<!>)
consumeInt(this * a)
consumeInt(this <!OPERATOR_MODIFIER_REQUIRED!>/<!> b)