[K/N] Fix platform libraries in K1 native diagnostic tests
K1 setup for diagnostic tests was not able to use platform libraries. This is required for ObjCSignatureOverride testing. We need to test it in both K2 and K1 to make IDE experience better.
This commit is contained in:
committed by
Space Team
parent
d100a07981
commit
77eee0d3fc
+2
-1
@@ -281,7 +281,8 @@ class ClassicFrontendFacade(
|
||||
): List<ModuleDescriptor> {
|
||||
val resolvedLibraries = CommonKLibResolver.resolve(
|
||||
names,
|
||||
configuration.getLogger(treatWarningsAsErrors = true)
|
||||
configuration.getLogger(treatWarningsAsErrors = true),
|
||||
knownIrProviders = listOf("kotlin.native.cinterop"), // FIXME use KonanLibraryProperResolver instead, as in production.
|
||||
).getFullResolvedList()
|
||||
|
||||
var builtInsModule: KotlinBuiltIns? = null
|
||||
|
||||
Reference in New Issue
Block a user