mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Eliminate ModuleExpr; DeclRefExpr is good enough for anyone.
Swift SVN r28285
This commit is contained in:
@@ -339,7 +339,7 @@ ModuleDecl::ModuleDecl(Identifier name, ASTContext &ctx)
|
||||
DeclContext(DeclContextKind::Module, nullptr) {
|
||||
ctx.addDestructorCleanup(*this);
|
||||
setImplicit();
|
||||
setType(MetatypeType::get(ModuleType::get(this)));
|
||||
setType(ModuleType::get(this));
|
||||
setAccessibility(Accessibility::Public);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user