Closed tlringer closed 3 months ago
A few weeks ago made a syntax change with CN to require ;
at the end of requires
/ ensures
blocks. But it seems the change was only propagated to the working examples, not the examples that are (deliberately) broken. So I expect any file with a name *.broken.c
will be incorrect.
The solution here is:
broken
are skipped.
Hi all, continuing with the tutorial now. I've run every single cn file I've encountered throughout. I've noticed there have been a lot of missing semicolons, and so sometimes I get confusing errors until I fix that. For example, consider
transpose.broken.c
in the "Resource Interference" section:If I try to run this, I get this error:
After fixing the first missing semicolon, if I try to run this again, I get this error:
After fixing the second missing semicolon, finally I get the error I am expecting where the false assertion cannot be satisfied.
I believe I encountered this at least five times so far, so I would recommend going through the tutorial and checking for missing semicolons.