pr 24
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user