mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
MetaTypeType doesn't refer to a oneof anymore, it refers to any named type,
which means it wraps a TypeAliasDecl. Swift SVN r1001
This commit is contained in:
@@ -72,9 +72,8 @@ TypeAliasDecl *ScopeInfo::lookupTypeNameInternal(Identifier Name, SourceLoc Loc,
|
||||
while (S->getParentScope())
|
||||
S = S->getParentScope();
|
||||
|
||||
if (AsType) {
|
||||
if (AsType)
|
||||
UnresolvedTypeList.push_back(TAD);
|
||||
}
|
||||
|
||||
TypeScopeHT.insertIntoScope(S, Name, TypeScopeEntry(TAD, 0, AsType));
|
||||
return TAD;
|
||||
|
||||
Reference in New Issue
Block a user