X-Git-Url: https://ocean-lang.org/code/?p=ocean;a=blobdiff_plain;f=csrc%2Foceani-tests.mdc;h=d65b6f97d8593548f13648e3216f09f80a34a44b;hp=58fde75620d45c479b8840abea87fc5db643eca7;hb=923ca343c74104bfa366b6d3adc09b14e11cadfa;hpb=89b05f4755bfc7c6ba81305f4f4cada1141b991e diff --git a/csrc/oceani-tests.mdc b/csrc/oceani-tests.mdc index 58fde75..d65b6f9 100644 --- a/csrc/oceani-tests.mdc +++ b/csrc/oceani-tests.mdc @@ -939,7 +939,6 @@ various places that `type_err()` are called. print bar, foo ###### output: type_err_const - .tmp.code:4:16: error: expected number found string .tmp.code:6:8: error: name already declared: bar .tmp.code:4:8: info: this is where 'bar' was first declared .tmp.code:8:8: error: variable 'foo' redeclared @@ -948,6 +947,7 @@ various places that `type_err()` are called. .tmp.code:7:5: info: this is where 'main' was first declared .tmp.code:13:8: error: variable 'foo' redeclared .tmp.code:3:8: info: this is where 'foo' was first declared + .tmp.code:4:16: error: expected number found string ###### test: type_err_const1 const