added some error check scripts
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
2023-11-27 00:08:59 +09:00
parent 3d47a99cd2
commit e91dde6213
8 changed files with 97 additions and 17 deletions

14
t/var-01.err Normal file
View File

@ -0,0 +1,14 @@
defclass Object {
{
## this must not be allowed at this level. if it's allowed,
## it should be at the top-level which is above the class level. this is confusing.
| j | ## ERROR: syntax error
set j 20;
printf ">>> %d\n" j;
}
defun ::* init() {
printf "Object init...\n";
return self;
};
};