mirror of
https://github.com/Ed94/Odin.git
synced 2026-06-21 05:05:00 -07:00
auto_cast
This commit is contained in:
@@ -243,6 +243,7 @@ void check_type_decl(Checker *c, Entity *e, AstNode *type_expr, Type *def) {
|
||||
named->Named.base = base_type(bt);
|
||||
if (!is_distinct) {
|
||||
e->type = bt;
|
||||
named->Named.base = bt;
|
||||
e->TypeName.is_type_alias = true;
|
||||
}
|
||||
// if (is_alias) {
|
||||
|
||||
Reference in New Issue
Block a user