Bind typed source functions with exact effect contracts during deterministic specialization; retain nominal operation identity and ordinary AIR verification. Add spec/RFC/grammar, checked Quick Reference examples, source/AIR conformance, package/hosted CLI tests, scheduler/GC coverage and documentation budgets.
7 lines
253 B
Rust
7 lines
253 B
Rust
// expect: reject E7006
|
|
// phase: 6
|
|
// spec: docs/spec/15-source-language.md §18
|
|
module test.static_functions
|
|
fn unused<A, B, C, D, E, F, G, H, I: fn(u64) -> u64 effects []>() -> u64 effects [] { return 42; }
|
|
fn main() -> u64 effects [] { return 42; }
|