cli: add explicit static function parameters
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.
This commit is contained in:
1 parent
57603860df
commit
f02f4bd55b
72 files changed
+969
-25
No files matched your search
@@ -652,6 +652,7 @@ const Lowerer = struct {
|
||||
fn typeOf(l: *Lowerer, t: ast.Type) Error!Ty {
|
||||
switch (t.kind) {
|
||||
.applied => return l.fail("E7002", t.span, "unknown generic type", &.{}),
|
||||
.function_ref => return l.fail("E7006", t.span, "static functions are not runtime types", &.{}),
|
||||
.name => |n| {
|
||||
if (isIntName(n)) return .{ .int = n };
|
||||
if (std.mem.eql(u8, n, "bool")) return .bool;
|
||||
|
||||
Reference in new issue
Block a user