913ed71863
Set first supported version to 1.3 Add property for oldest depecated language version in order to control unsupported ones Report error on attempts to manually disable language feature from unsupported versions Update test data, drop compatibility tests for features from unsupported versions KT-36146 In progress
11 lines
777 B
Plaintext
Vendored
11 lines
777 B
Plaintext
Vendored
warning: flag is not supported by this version of the compiler: -Xdouble ' quote ' escaped " sequence /
|
|
warning: flag is not supported by this version of the compiler: -Xsingle " quote " escaped ' sequence /
|
|
warning: API version 1.2 is deprecated and its support will be removed in a future version of Kotlin
|
|
compiler/testData/cli/jvm/apiVersion.kt:11:20: error: the feature "function types with big arity" is only available since API version 1.3
|
|
fun test(vararg x: Function30<*, *, *, *, *, *, *, *, *, *, *, *, *, *, *, *, *, *, *, *, *, *, *, *, *, *, *, *, *, *, Unit>) {
|
|
^
|
|
compiler/testData/cli/jvm/apiVersion.kt:12:9: error: the feature "function types with big arity" is only available since API version 1.3
|
|
bar(::foo)
|
|
^
|
|
COMPILATION_ERROR
|