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
@@ -8,7 +8,7 @@ as no stability/compatibility guarantees are given on
compiler or generated code. Use it at your own risk!
warning: language version 1.3 is experimental, there are no backwards compatibility guarantees for new language and library features
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 disabled
inline class Foo(val x: Int)
^
COMPILATION_ERROR