diff options
| author | _ov4 <ov4@ov4.org> | 2026-10-21 05:43:35 +0000 |
|---|---|---|
| committer | _ov4 <ov4@ov4.org> | 2026-10-21 05:43:35 +0000 |
| commit | dd5bbae055fd34ce2e12ef63f8a261c6b15dc83e (patch) | |
| tree | 757e367daacf92c50148eb42d7bda97ba33ed3fb /tests/iii/template-pack-errors/case.json | |
| parent | c682f983b0dce3acba76d1f08719a26b9c52c5ec (diff) | |
feat(parser): parse TEMPLATE declarations, template ids and parameter packs
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'tests/iii/template-pack-errors/case.json')
| -rw-r--r-- | tests/iii/template-pack-errors/case.json | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/tests/iii/template-pack-errors/case.json b/tests/iii/template-pack-errors/case.json new file mode 100644 index 0000000..53b5a23 --- /dev/null +++ b/tests/iii/template-pack-errors/case.json @@ -0,0 +1,32 @@ +{ + "errors": [ + { + "reason": "A pack parameter must be last", + "line": 2 + }, + { + "reason": "pack parameter must use the current template pack and cannot be ARRAY", + "line": 6 + }, + { + "reason": "pack parameter must use the current template pack and cannot be ARRAY", + "line": 10 + }, + { + "reason": "parameter pack must be expanded", + "line": 15 + }, + { + "reason": "Only a parameter pack may be expanded", + "line": 20 + }, + { + "reason": "Only the current template parameter pack may use", + "line": 25 + }, + { + "reason": "template parameter pack requires", + "line": 29 + } + ] +} |
