aboutsummaryrefslogtreecommitdiff
path: root/tests/iii/class-new-errors/case.json
diff options
context:
space:
mode:
author_ov4 <ov4@ov4.org>2026-10-17 06:54:32 +0000
committer_ov4 <ov4@ov4.org>2026-10-17 06:54:32 +0000
commit74b6d06711afd3efbbc47436f1491900994313f3 (patch)
treeb9050214b147cd2b1b54fd27e75d669bf6146e48 /tests/iii/class-new-errors/case.json
parent39661855c0816ac248be437704c76f58359cb5f0 (diff)
feat(classes): allocate objects with NEW and rebind named class variables
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'tests/iii/class-new-errors/case.json')
-rw-r--r--tests/iii/class-new-errors/case.json32
1 files changed, 32 insertions, 0 deletions
diff --git a/tests/iii/class-new-errors/case.json b/tests/iii/class-new-errors/case.json
new file mode 100644
index 0000000..8ce52ed
--- /dev/null
+++ b/tests/iii/class-new-errors/case.json
@@ -0,0 +1,32 @@
+{
+ "errors": [
+ {
+ "reason": "NEW target must have type Other",
+ "line": 20
+ },
+ {
+ "reason": "NEW requires a class type",
+ "line": 21
+ },
+ {
+ "reason": "NEW requires a class type",
+ "line": 22
+ },
+ {
+ "reason": "has no constructor NEW",
+ "line": 23
+ },
+ {
+ "reason": "Incorrect # arguments passed to Required.NEW",
+ "line": 24
+ },
+ {
+ "reason": "Incorrect # arguments passed to Required.NEW",
+ "line": 25
+ },
+ {
+ "reason": "NEW target must have type Hidden",
+ "line": 26
+ }
+ ]
+}