aboutsummaryrefslogtreecommitdiff
path: root/tests/i/class-new-methods/program.cps
diff options
context:
space:
mode:
author_ov4 <ov4@ov4.org>2026-10-17 06:52:23 +0000
committer_ov4 <ov4@ov4.org>2026-10-17 06:52:23 +0000
commit39661855c0816ac248be437704c76f58359cb5f0 (patch)
tree202b014805e40208e3adb861f4a97d31770f13e6 /tests/i/class-new-methods/program.cps
parentc89477d615fb0ce4d89786ef848ffe6aca1da088 (diff)
feat(classes): construct declared objects and nested fields and arrays
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'tests/i/class-new-methods/program.cps')
-rw-r--r--tests/i/class-new-methods/program.cps2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/i/class-new-methods/program.cps b/tests/i/class-new-methods/program.cps
index 573fe0f..880f538 100644
--- a/tests/i/class-new-methods/program.cps
+++ b/tests/i/class-new-methods/program.cps
@@ -7,7 +7,7 @@ CLASS Box
this.NEW("again")
ENDPROCEDURE
ENDCLASS
-DECLARE Obj : Box
+DECLARE Obj : Box("initial")
Obj.NEW("x")
OUTPUT Obj.Value
CALL Obj.new("call")