aboutsummaryrefslogtreecommitdiff
path: root/tests/iii/implicit-conversion-errors/case.json
diff options
context:
space:
mode:
author_ov4 <ov4@ov4.org>2026-10-30 14:23:32 +0000
committer_ov4 <ov4@ov4.org>2026-10-30 14:23:32 +0000
commit4cb0d9b196008bc55dbfcdac1f9211dbbc879895 (patch)
tree0d95a2682ef26455483c4bb9222e1dff0d5c8e69 /tests/iii/implicit-conversion-errors/case.json
parent63109537383fa58c6a1db95f275d6b5de63b0015 (diff)
feat(types): support implicit single-argument constructors
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'tests/iii/implicit-conversion-errors/case.json')
-rw-r--r--tests/iii/implicit-conversion-errors/case.json24
1 files changed, 24 insertions, 0 deletions
diff --git a/tests/iii/implicit-conversion-errors/case.json b/tests/iii/implicit-conversion-errors/case.json
new file mode 100644
index 0000000..a004af2
--- /dev/null
+++ b/tests/iii/implicit-conversion-errors/case.json
@@ -0,0 +1,24 @@
+{
+ "errors": [
+ {
+ "line": 28,
+ "reason": "Cannot use a value of type INTEGER where ExplicitOnly is expected"
+ },
+ {
+ "line": 29,
+ "reason": "Cannot use a value of type INTEGER where Second is expected"
+ },
+ {
+ "line": 30,
+ "reason": "BYREF argument I to Ref must be of type First"
+ },
+ {
+ "line": 41,
+ "reason": "Ambiguous call to Ambiguous"
+ },
+ {
+ "line": 48,
+ "reason": "Cannot access private method NEW"
+ }
+ ]
+}