test: enable -enable-library-evolution in compare-dump-interface-vs-binary.swift

Under `-enable-library-evolution`, a slight AST difference is still found when importing
from .swiftinterface and from .swiftmodule. The difference is whether @objc attribute
is inherited by a Swift class subclassing an Objc class.
This commit is contained in:
Xi Ge
2019-08-28 10:41:17 -07:00
parent 62f947d6ba
commit e7fdd67d4d
4 changed files with 5 additions and 15 deletions

View File

@@ -1441,7 +1441,7 @@ std::error_code ParseableInterfaceModuleLoader::findModuleFilesInDirectory(
CacheDir, PrebuiltCacheDir, ModuleID.second,
RemarkOnRebuildFromInterface, dependencyTracker,
llvm::is_contained(PreferInterfaceForModules,
ModuleName)?
ModuleName) ?
ModuleLoadingMode::PreferParseable : LoadMode);
// Ask the impl to find us a module that we can load or give us an error