IC mangling: Use old mangling scheme for stdlib
This way, new stdlib can still be usable in 1.4.20
This commit is contained in:
+5
@@ -0,0 +1,5 @@
|
||||
package test
|
||||
|
||||
inline class IC(val i: Int)
|
||||
|
||||
fun foo(i: Int, ic: IC) {}
|
||||
+23
@@ -0,0 +1,23 @@
|
||||
@kotlin.Metadata
|
||||
public final class test/IC {
|
||||
// source: 'new.kt'
|
||||
private final field i: int
|
||||
private synthetic method <init>(p0: int): void
|
||||
public synthetic final static method box-impl(p0: int): test.IC
|
||||
public static method constructor-impl(p0: int): int
|
||||
public method equals(p0: java.lang.Object): boolean
|
||||
public static method equals-impl(p0: int, p1: java.lang.Object): boolean
|
||||
public final static method equals-impl0(p0: int, p1: int): boolean
|
||||
public final method getI(): int
|
||||
public method hashCode(): int
|
||||
public static method hashCode-impl(p0: int): int
|
||||
public method toString(): java.lang.String
|
||||
public static method toString-impl(p0: int): java.lang.String
|
||||
public synthetic final method unbox-impl(): int
|
||||
}
|
||||
|
||||
@kotlin.Metadata
|
||||
public final class test/NewKt {
|
||||
// source: 'new.kt'
|
||||
public final static method foo-WsYm_fY(p0: int, p1: int): void
|
||||
}
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
// FILE: 1.kt
|
||||
package test
|
||||
|
||||
inline class IC(val i: Int)
|
||||
|
||||
// FILE: 2.kt
|
||||
package kotlin
|
||||
|
||||
import test.*
|
||||
|
||||
fun foo(i: Int, ic: IC) {}
|
||||
+23
@@ -0,0 +1,23 @@
|
||||
@kotlin.Metadata
|
||||
public final class kotlin/_2Kt {
|
||||
// source: '2.kt'
|
||||
public final static method foo-wfSZ3cc(p0: int, p1: int): void
|
||||
}
|
||||
|
||||
@kotlin.Metadata
|
||||
public final class test/IC {
|
||||
// source: '1.kt'
|
||||
private final field i: int
|
||||
private synthetic method <init>(p0: int): void
|
||||
public synthetic final static method box-impl(p0: int): test.IC
|
||||
public static method constructor-impl(p0: int): int
|
||||
public method equals(p0: java.lang.Object): boolean
|
||||
public static method equals-impl(p0: int, p1: java.lang.Object): boolean
|
||||
public final static method equals-impl0(p0: int, p1: int): boolean
|
||||
public final method getI(): int
|
||||
public method hashCode(): int
|
||||
public static method hashCode-impl(p0: int): int
|
||||
public method toString(): java.lang.String
|
||||
public static method toString-impl(p0: int): java.lang.String
|
||||
public synthetic final method unbox-impl(): int
|
||||
}
|
||||
Reference in New Issue
Block a user