This commit is contained in:
Nilton Constantino
2026-01-29 17:47:01 +00:00
parent dc3a0268f1
commit d216918c79
3 changed files with 203 additions and 101 deletions
-21
View File
@@ -1,24 +1,3 @@
# PR-23 — Eliminate Invalid Call Fallbacks
### Goal
Prevent invalid bytecode generation.
### Required Changes
* Remove **all** fallbacks to `FunctionId(0)` or equivalent
* On unresolved symbols during lowering:
* Emit canonical diagnostic (`E_RESOLVE_UNDEFINED` or `E_LOWER_UNSUPPORTED`)
* Abort lowering
### Tests
* PBS program calling missing function → compile error
* No Core IR or VM IR emitted
---
# PR-24 — Validate Contract Calls in Frontend (Arity + Types)
### Goal