auto type erasure for protocols & struct literal init bloc
This commit is contained in:
@@ -306,6 +306,7 @@ pub const StructLiteral = struct {
|
||||
struct_name: ?[]const u8, // null for anonymous `.{ ... }`
|
||||
type_expr: ?*Node = null, // for GenericType(args).{ ... }
|
||||
field_inits: []const StructFieldInit,
|
||||
init_block: ?*Node = null, // optional `{ stmts }` block after struct literal
|
||||
};
|
||||
|
||||
pub const Lambda = struct {
|
||||
|
||||
Reference in New Issue
Block a user