diff --git a/src/type/type.cc b/src/type/type.cc index f74c20c046..3637f87ea7 100644 --- a/src/type/type.cc +++ b/src/type/type.cc @@ -56,9 +56,9 @@ Type* Type::UnwrapIfNeeded() { auto* where = this; while (true) { if (auto* alias = where->As()) { - where = alias->type(); + where = alias->type(); } else if (auto* access = where->As()) { - where = access->type(); + where = access->type(); } else { break; }