Format unary plus correctly

This commit is contained in:
Sofia 2026-04-28 01:06:53 +03:00
parent 4a0257c771
commit ba21718f71

View File

@ -111,6 +111,9 @@ namespace AST {
case types::Unary::Negation:
out << "-" << this->m_expr->formatted();
break;
case types::Unary::Plus:
out << "+" << this->m_expr->formatted();
break;
default:
break;
}