mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Rename the standard library to "Swift" (instead of "swift")
This is more in line with all other modules currently on our system. If/when we get our final name for the language, we're at least now set up to rename the library without /too/ much trouble. (This is mostly just a lot of searching for "import swift", "swift.", "'swift'", and '"swift"'. The compiler itself is pretty much just using STDLIB_NAME consistently now, per r13758.) <rdar://problem/15972383> Swift SVN r14001
This commit is contained in:
@@ -275,8 +275,9 @@ void SerializedASTFile::lookupValue(Module::AccessPathTy accessPath,
|
||||
SmallVectorImpl<ValueDecl*> &results) const{
|
||||
assert(accessPath.size() <= 1 && "can only refer to top-level decls");
|
||||
|
||||
// If this import is specific to some named type or decl ("import swift.int")
|
||||
// then filter out any lookups that don't match.
|
||||
// If this import is specific to some named type or decl
|
||||
// ("import typealias Swift.Int"), then filter out any lookups that
|
||||
// don't match.
|
||||
if (accessPath.size() == 1 && accessPath.front().first != name)
|
||||
return;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user