diesieben07
interface Foo { fun bar() } class Impl : foo { inline fun bar() { } } val foo: Foo = Impl() foo.bar() // cannot be inlined! compiler does not know it's an instance of Impl