Finished sanity suite except for operators.

Adjusted upfront api a bit, def_using no longer handles the namespace case, a sepearate function: def_using_namespace now does.

Mostly fixes to the seralization as I generate more cases to find the bugs.
This commit is contained in:
2023-06-29 00:20:23 -04:00
parent 44ab1c2fc3
commit 7f645c7357
6 changed files with 403 additions and 95 deletions

View File

@ -64,7 +64,7 @@ Code gen__array( StrC type, sw type_size )
Code array;
{
Code using_type = def_using( name(Type), UsingRegular, t_type );
Code using_type = def_using( name(Type), t_type );
Code data = def_variable( t_type_ptr, name(Data) );
Code init;