11 lines
281 B
Kotlin
Vendored
11 lines
281 B
Kotlin
Vendored
// FIR_DISABLE_LAZY_RESOLVE_CHECKS
|
|
// !LANGUAGE: +InlineClasses, -JvmInlineValueClasses
|
|
|
|
interface IFoo
|
|
|
|
object FooImpl : IFoo
|
|
|
|
inline class Test1(val x: Any) : <!VALUE_CLASS_CANNOT_IMPLEMENT_INTERFACE_BY_DELEGATION!>IFoo by FooImpl<!>
|
|
|
|
inline class Test2(val x: IFoo) : IFoo by x
|