Allow to use inline classes in 1.3 with warning
This commit is contained in:
+1
-1
@@ -1,5 +1,5 @@
|
||||
warning: flag is not supported by this version of the compiler: -XX:+InlineClasses
|
||||
compiler/testData/cli/jvm/inlineClass.kt:1:1: error: the feature "inline classes" is experimental and should be enabled explicitly
|
||||
compiler/testData/cli/jvm/inlineClass.kt:1:1: error: the feature "inline classes" is only available since language version 1.3
|
||||
inline class Foo(val x: Int)
|
||||
^
|
||||
COMPILATION_ERROR
|
||||
|
||||
Reference in New Issue
Block a user