cli: add explicit built-in error values
Add the error_values feature and error.const through specification, AIR, verification, interpretation and source lowering. Error values are Copy data with no allocation, effects or authority. Keep enum.make semantics frozen. Cover all registered tags, feature negotiation, payload/type errors and authority rejection in AIR/source; verify canonical and hosted CLI behavior. Record reference-bundle costs and the map preflight-validation prerequisite.
This commit is contained in:
1 parent
89c63c306b
commit
1eaf968f4f
56 files changed
+823
-4
No files matched your search
@@ -22,6 +22,7 @@ python3 tests/hosted/source_linear.py # whole-value owners, canonical AIR and CL
|
||||
python3 tests/hosted/source_buffers.py # initialized storage, owning vectors and CLI contracts
|
||||
python3 tests/hosted/source_deque.py # ring order, returned owners and CLI contracts
|
||||
python3 tests/hosted/source_hash.py # pure hashes, chunks and source/package/hosted contracts
|
||||
python3 tests/hosted/source_errors.py # pure built-in error construction and authority separation
|
||||
(cd tools/eval && python3 -m unittest discover tests) # evaluation harness self-tests
|
||||
zig fmt --check build.zig src tools
|
||||
```
|
||||
|
||||
Reference in new issue
Block a user