tests: add nested-size source rejection twins
This commit is contained in:
1 parent
b3051f161c
commit
a491eba193
8 files changed
+95
-1
No files matched your search
@@ -1732,6 +1732,37 @@
|
||||
"kind": "air_only",
|
||||
"spec": "docs/spec/15-source-language.md \u00a74",
|
||||
"rule": "The AIR regression passes a lent task as switch target arguments. Source integer/enum match arms have no target arguments; changing variables reach a subsequent br join. A later-merge E4302 would discard the switch-handoff context being tested."
|
||||
},
|
||||
"phase1/reject/nested_size_frame.air": {
|
||||
"kind": "same_code",
|
||||
"site": "function",
|
||||
"spec": "docs/spec/08-verifier.md \u00a77.1",
|
||||
"rule": "A one-MiB nested array and one byte both need frame storage. The source and AIR retain identical limit/max/found/type facts."
|
||||
},
|
||||
"phase1/reject/nested_size_gib.air": {
|
||||
"kind": "same_code",
|
||||
"site": "function",
|
||||
"spec": "docs/spec/08-verifier.md \u00a77.1",
|
||||
"rule": "An unrelated nominal type cannot truncate anonymous array accounting. The source and AIR retain identical limit/max/found/type facts.",
|
||||
"match_type_declarations": true
|
||||
},
|
||||
"phase1/reject/nested_size_mutex.air": {
|
||||
"kind": "same_code",
|
||||
"site": "function",
|
||||
"spec": "docs/spec/08-verifier.md \u00a77.1",
|
||||
"rule": "Mutex accounting includes its content and the eight-byte wrapper. The source and AIR retain identical limit/max/found/type facts."
|
||||
},
|
||||
"phase1/reject/nested_size_overflow.air": {
|
||||
"kind": "same_code",
|
||||
"site": "function",
|
||||
"spec": "docs/spec/08-verifier.md \u00a77.1",
|
||||
"rule": "Anonymous nested-array arithmetic retains checked-u64 overflow. The source and AIR retain identical limit/max/found/type facts."
|
||||
},
|
||||
"phase1/reject/nested_size_value.air": {
|
||||
"kind": "same_code",
|
||||
"site": "function",
|
||||
"spec": "docs/spec/08-verifier.md \u00a77.1",
|
||||
"rule": "A parameter of array<array<u8,1024>,1025> accounts 1049600 bytes in both artifacts, preserving the complete value-size budget facts."
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user