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
This commit is contained in:
Vendored
-2
@@ -14,8 +14,6 @@ public final class Foo {
|
||||
private final field x: int
|
||||
public method <init>(p0: int): void
|
||||
public method equals(p0: java.lang.Object): boolean
|
||||
public final method getAsThis(): int
|
||||
public final method getProp(): int
|
||||
public final method getX(): int
|
||||
public method hashCode(): int
|
||||
public method toString(): java.lang.String
|
||||
|
||||
Reference in New Issue
Block a user