Lot's of work on Any and Type

This commit is contained in:
Krzosa Karol
2022-06-19 15:28:18 +02:00
parent 014ef07b9f
commit 79edfae55b
7 changed files with 48 additions and 43 deletions

View File

@@ -113,8 +113,7 @@ struct Ast_Var_Unpack: Ast_Expr{
struct Ast_Unary: Ast_Expr{
Token_Kind op;
Ast_Expr *expr;
Ast_Type *resolved_type_val;
U64 padding[1]; // For folding constants into atoms
U64 padding[2]; // For folding constants into atoms
};
struct Ast_Index: Ast_Expr{
@@ -175,6 +174,7 @@ struct Ast_Lambda : Ast_Expr {
struct Ast_Array: Ast_Expr{
Ast_Expr *base;
Ast_Expr *expr;
U64 padding[2];
};
struct Ast_Switch_Case: Ast{