Files
Ilmir Usmanov 129de76288 Value classes: Generate @JvmInline annotation for inline classes
but not for value classes.
Since inline classes and value classes share the same flag, we use
presence of the annotation to distinguish them.
2020-12-01 23:45:47 +01:00

21 lines
495 B
Plaintext
Vendored

package test
public interface IFoo</*0*/ T> {
public abstract fun foo(): T
}
public/*package*/ open class JExtendsKFooZ : test.KFooZ {
public/*package*/ constructor JExtendsKFooZ()
public open /*fake_override*/ fun foo(): test.Z
}
public open class KFooZ : test.IFoo<test.Z> {
public constructor KFooZ()
public open fun foo(): test.Z
}
@kotlin.jvm.JvmInline public final value class Z {
public constructor Z(/*0*/ kotlin.Int)
public final val value: kotlin.Int
}