test completes singleheader ast construction and serailizes with corruption

This commit is contained in:
2023-08-02 14:01:56 -04:00
parent b96b0821c1
commit a8a9b681f0
4 changed files with 39 additions and 47 deletions

View File

@ -483,7 +483,7 @@ String AST::to_string()
case Operator_Cast_Fwd:
if ( Specs )
{
result.append_fmt( "operator %s()" );
result.append_fmt( "operator %s()", ValueType->to_string() );
CodeSpecifiers specs = cast<CodeSpecifiers>();
@ -493,7 +493,7 @@ String AST::to_string()
result.append_fmt( " %s", (char const*)ESpecifier::to_str( spec ) );
}
result.append_fmt( ";", Body->to_string() );
result.append( ";" );
break;
}