added some error check scripts
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
14
t/var-01.err
Normal file
14
t/var-01.err
Normal 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;
|
||||
};
|
||||
};
|
Reference in New Issue
Block a user