Fix stdlib facade names in bytecode generation and decompilation tests.
This commit is contained in:
@@ -2,5 +2,6 @@ fun foo() {
|
||||
assert(1 == 1) { "Hahaha" }
|
||||
}
|
||||
|
||||
// 1 INVOKESTATIC kotlin\/KotlinPackage\.getASSERTIONS_ENABLED
|
||||
// 0 INVOKESTATIC kotlin\/AssertionsJVMKt\.getASSERTIONS_ENABLED
|
||||
// 0 INVOKESTATIC kotlin\/KotlinPackage\.getASSERTIONS_ENABLED
|
||||
// 1 INVOKESTATIC kotlin\/PreconditionsKt\.getASSERTIONS_ENABLED
|
||||
// 0 INVOKESTATIC kotlin\/PreconditionsKt__.+\.getASSERTIONS_ENABLED
|
||||
|
||||
+2
-2
@@ -37,9 +37,9 @@ public class DecompiledTextConsistencyTest : TextConsistencyBaseTest() {
|
||||
|
||||
override fun getPackages(): List<FqName> = emptyList()
|
||||
|
||||
override fun getFacades(): List<FqName> = listOf(FqName("kotlin.KotlinPackage"))
|
||||
override fun getFacades(): List<FqName> = listOf(FqName("kotlin.CollectionsKt"))
|
||||
|
||||
override fun getTopLevelMembers(): Map<String, String> = mapOf("kotlin.KotlinPackage" to "linkedListOf")
|
||||
override fun getTopLevelMembers(): Map<String, String> = mapOf("kotlin.CollectionsKt" to "linkedListOf")
|
||||
|
||||
override fun getVirtualFileFinder(): VirtualFileFinder =
|
||||
JvmVirtualFileFinder.SERVICE.getInstance(project)
|
||||
|
||||
Reference in New Issue
Block a user