This commit is contained in:
Nilton Constantino
2026-01-29 17:56:12 +00:00
parent d216918c79
commit f56353ce9b
7 changed files with 239 additions and 71 deletions
-22
View File
@@ -1,25 +1,3 @@
# PR-24 — Validate Contract Calls in Frontend (Arity + Types)
### Goal
Move contract validation to compile time.
### Required Changes
* During PBS type checking:
* Validate argument count against contract signature
* Validate argument types
* Lower only validated calls to `HostCall`
### Tests
* Wrong arity → `E_TYPE_MISMATCH`
* Correct call lowers to Core IR `HostCall`
---
# PR-25 — Core IR Invariants Test Suite
### Goal