verifier: account finite anonymous type sizes exactly

This commit is contained in:
dev committed 2026-10-09 13:26:17 +03:00
1 parent 03614c9bef
commit 111a3861f9
16 files changed
+226 -8

No files matched your search

+1 -1
View File
@@ -33,7 +33,7 @@ with tempfile.TemporaryDirectory(prefix='aji-nominal-queries-') as directory:
records = [json.loads(line) for line in diagnostics.splitlines()]
assert all(d['file'] == str(source) for d in records), records
if source.stem == 'cycle':
assert (records[0]['code'], records[0]['type'], records[0]['line']) == ('E1003', 'N0', 5)
assert (records[0]['code'], records[0]['type'], records[0]['line']) == ('E1003', 'N0', 6)
elif source.stem == 'constraint_depth':
assert records[0]['reason'] == 'implementation_limit'
elif source.stem == 'diamond_21_u64':