Typing the untyped values in an array of Any, commenting stuff

This commit is contained in:
Krzosa Karol
2022-10-05 20:54:38 +02:00
parent 6f04eb86b2
commit 8395969620
4 changed files with 81 additions and 45 deletions

View File

@@ -88,6 +88,14 @@ struct Ast_Expr:Ast{
};
struct Ast_Atom: Ast_Expr{
// We have a field type here
// it has a different purpose from the
// resolved_type of Ast_Expr, it describes
// the inherent type of a value
//
// resolved_type is a solid type that
// can be use during code generation
// it cannot be untyped. (or at least thats the hope :)
INLINE_VALUE_FIELDS;
};