X-Git-Url: https://ocean-lang.org/code/?p=ocean;a=blobdiff_plain;f=csrc%2Foceani-tests.mdc;h=8f10b89324aa7d7dbee42bdfeff3dac4664ba3bf;hp=78b458b3a455adf33dae58958dccea7e15fe40b1;hb=bc126aadf03e4e64710f2ad7d76d1247090219d5;hpb=88d54b5afa776ae4cc7100dc30238538e509a442 diff --git a/csrc/oceani-tests.mdc b/csrc/oceani-tests.mdc index 78b458b..8f10b89 100644 --- a/csrc/oceani-tests.mdc +++ b/csrc/oceani-tests.mdc @@ -823,7 +823,6 @@ various places that `type_err()` are called. print c.foo print bar.c print bar.b + 42 - // trigger 'labels not permitted' error message while 1 if True else False: @@ -860,7 +859,7 @@ various places that `type_err()` are called. .tmp.code:33:14: error: field reference attempted on string, not a struct .tmp.code:34:14: error: cannot find requested field in foo .tmp.code:35:17: error: have string but need number - .tmp.code:39:29: error: expected number (labels not permitted) found Boolean + .tmp.code:38:29: error: expected number (labels not permitted) found Boolean oceani: type error in program - not running. ###### test: type_err4