Unresolved reference: JvmInline In kotlin playground

后端 未结 0 954
北恋
北恋 2021-02-07 13:40

This is an exact code snippet of value classes taken from kotlin official website.

interface I

@JvmInline
value class Foo(val i: Int) : I

fun asInline(f: Foo) {         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题