function literals (non-capturing)

This commit is contained in:
2026-07-07 17:04:38 +02:00
parent 95c61311ca
commit f171a6579d
5 changed files with 186 additions and 20 deletions
+2
View File
@@ -104,6 +104,7 @@ Expr_Kind :: enum u8 {
Call,
Try,
Catch,
Function_Literal,
}
Expr :: struct {
@@ -209,6 +210,7 @@ Function :: struct {
file: File_Id,
c_abi: bool,
imported: bool,
generated: bool,
has_body: bool,
variadic: bool,
params: []Param,