Introduce language version 2.0 and associate K2 compiler with it
This commit is contained in:
+1
-3
@@ -1,6 +1,4 @@
|
||||
warning: ATTENTION!
|
||||
This build uses experimental K2 compiler:
|
||||
-Xuse-k2
|
||||
warning: language version 2.0 is experimental, there are no backwards compatibility guarantees for new language and library features
|
||||
compiler/testData/cli/jvm/firError.kt:1:13: error: 'val' on function parameter is not allowed
|
||||
fun println(val x: Int) {}
|
||||
^
|
||||
|
||||
Reference in New Issue
Block a user