Slowly adding multiple return values

This commit is contained in:
Krzosa Karol
2022-06-16 11:48:47 +02:00
parent 2a3284f70e
commit c604b44458
8 changed files with 122 additions and 48 deletions

View File

@@ -17,7 +17,7 @@ test_types(){
Ast_Type *pointer_type4 = type_pointer(pointer_type2);
assert(pointer_type3 != pointer_type1);
assert(pointer_type3 == pointer_type4);
#if 0
Array<Ast_Type*> types = {scratch};
types.add(type_array(type_s64, 32));
Ast_Type *func_type1 = type_lambda(0, types[0], types);
@@ -34,4 +34,5 @@ test_types(){
Ast_Type *func_type4 = type_lambda(0, types[0], types2);
assert(func_type1 != func_type3);
assert(func_type3 == func_type4);
#endif
}