mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Start propgating TypeLocs from the parser into the AST.
Swift SVN r2372
This commit is contained in:
@@ -62,8 +62,8 @@ void BuiltinModuleCache::lookupValue(Identifier Name, NLKind LookupKind,
|
||||
|
||||
if (Entry == 0)
|
||||
if (Type Ty = getBuiltinType(M.Ctx, Name.str()))
|
||||
Entry = new (M.Ctx) TypeAliasDecl(SourceLoc(), Name, SourceLoc(), Ty,
|
||||
M.Ctx.TheBuiltinModule,
|
||||
Entry = new (M.Ctx) TypeAliasDecl(SourceLoc(), Name, SourceLoc(),
|
||||
Ty, nullptr, M.Ctx.TheBuiltinModule,
|
||||
MutableArrayRef<Type>());
|
||||
|
||||
if (Entry == 0)
|
||||
|
||||
Reference in New Issue
Block a user