mirror of
https://github.com/Ed94/Odin.git
synced 2026-06-17 11:22:22 -07:00
Merge branch 'master' of https://github.com/odin-lang/Odin
This commit is contained in:
@@ -756,6 +756,14 @@ gb_internal void write_type_to_canonical_string(TypeWriter *w, Type *type) {
|
||||
if (i > 0) {
|
||||
type_writer_appendc(w, CANONICAL_FIELD_SEPARATOR);
|
||||
}
|
||||
|
||||
if (f->flags & EntityFlags_IsSubtype) {
|
||||
type_writer_appendc(w, "#subtype ");
|
||||
}
|
||||
|
||||
if (f->flags & EntityFlag_Using) {
|
||||
type_writer_appendc(w, "using ");
|
||||
}
|
||||
type_writer_append(w, f->token.string.text, f->token.string.len);
|
||||
type_writer_appendc(w, CANONICAL_TYPE_SEPARATOR);
|
||||
write_type_to_canonical_string(w, f->type);
|
||||
|
||||
Reference in New Issue
Block a user