changed the syntax of the class-level variable declacration to use square brackets
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:
@ -1,6 +1,6 @@
|
||||
## test class instantiation methods
|
||||
|
||||
class A | a b c | {
|
||||
class A [ a b c ] {
|
||||
|
||||
defun :*newInstance(x y z) {
|
||||
set a x;
|
||||
@ -14,7 +14,7 @@ class A | a b c | {
|
||||
defun get-c() { return self.c; };
|
||||
};
|
||||
|
||||
class B :: A | d e f | {
|
||||
class B :: A [ d e f ] {
|
||||
|
||||
defun :*newInstance(x y z) {
|
||||
super:newInstance (* x 2) (* y 2) (* z 2);
|
||||
|
Reference in New Issue
Block a user