Files
kotlin/compiler/testData/codegen/bytecodeListing/inlineClasses/companionObjectInsideInlineClass.txt
Mikhail Zarechenskiy 1497c19dc9 Do not generate useless methods inside wrapper for inline class
Fix for test data (inlineFunctionInsideInlineClassesBox.kt) is needed
 to avoid check about "no inline functions".

 This check has two steps: first, names of inline functions from
 the metadata are loaded, then these names are checked that they are
 presented for physical methods in the classfile.

 Because now there are no physical methods in the classfile, we can't pass
 the second check, therefore this fix is needed.

 #KT-24872 Fixed
2018-08-07 12:15:46 +03:00

33 lines
1.2 KiB
Plaintext
Vendored

@kotlin.Metadata
public final class Foo$Companion {
inner class Foo$Companion
private method <init>(): void
public synthetic method <init>(p0: kotlin.jvm.internal.DefaultConstructorMarker): void
public final method funInCompanion(): void
}
@kotlin.Metadata
public final static class Foo$Erased {
public final static @org.jetbrains.annotations.NotNull method box(p0: int): Foo
public static method constructor(p0: int): int
public static method equals(p0: int, @org.jetbrains.annotations.Nullable p1: java.lang.Object): boolean
public static method hashCode(p0: int): int
public final static method inInlineClass(p0: int): void
public static @org.jetbrains.annotations.NotNull method toString(p0: int): java.lang.String
}
@kotlin.Metadata
public final class Foo {
public final static field Companion: Foo$Companion
private final static field constValInCompanion: int
private final field x: int
inner class Foo$Companion
static method <clinit>(): void
public method <init>(p0: int): void
public method equals(p0: java.lang.Object): boolean
public final method getX(): int
public method hashCode(): int
public method toString(): java.lang.String
public final method unbox(): int
}