mirror of
https://github.com/odin-lang/Odin.git
synced 2026-02-19 17:38:23 +00:00
Ternary Expr; lbAddr extra; Phi node support
This commit is contained in:
@@ -3421,7 +3421,13 @@ gbString write_type_to_string(gbString str, Type *type) {
|
||||
str = gb_string_appendc(str, ")");
|
||||
if (type->Proc.results) {
|
||||
str = gb_string_appendc(str, " -> ");
|
||||
if (type->Proc.results->Tuple.variables.count > 1) {
|
||||
str = gb_string_appendc(str, "(");
|
||||
}
|
||||
str = write_type_to_string(str, type->Proc.results);
|
||||
if (type->Proc.results->Tuple.variables.count > 1) {
|
||||
str = gb_string_appendc(str, ")");
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user