Allow to use inline classes in 1.3 with warning

This commit is contained in:
Mikhail Zarechenskiy
2018-06-15 12:26:55 +03:00
parent 6db07f71f3
commit 605cdcd8d8
6 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -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