mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user