Introduce InlineClasses language feature
Allow to write `inline` modifier in front of class declaration
This commit is contained in:
+8
@@ -0,0 +1,8 @@
|
||||
// !LANGUAGE: +InlineClasses
|
||||
|
||||
inline class Foo(val x: Int)
|
||||
|
||||
<!WRONG_MODIFIER_TARGET!>inline<!> interface InlineInterface
|
||||
<!WRONG_MODIFIER_TARGET!>inline<!> annotation class InlineAnn
|
||||
<!WRONG_MODIFIER_TARGET!>inline<!> object InlineObject
|
||||
<!WRONG_MODIFIER_TARGET!>inline<!> enum class InlineEnum
|
||||
Reference in New Issue
Block a user