test completes singleheader ast construction and serailizes with corruption

This commit is contained in:
ed committed 2023-08-02 14:01:56 -04:00
1 parent b96b0821c1
commit a8a9b681f0
4 files changed
+39 -47

No files matched your search

+2 -2
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;
}