diff --git a/compiler/testData/integration/ant/jvm/languageVersion/build.log.expected b/compiler/testData/integration/ant/jvm/languageVersion/build.log.expected index a1349b956cb..fc053c895a7 100644 --- a/compiler/testData/integration/ant/jvm/languageVersion/build.log.expected +++ b/compiler/testData/integration/ant/jvm/languageVersion/build.log.expected @@ -3,10 +3,9 @@ Buildfile: [TestData]/build.xml build: [kotlinc] Compiling [[TestData]/main.kt] => [[Temp]/hello.jar] - [kotlinc] warning: language version 1.3 is deprecated and its support will be removed in a future version of Kotlin - [kotlinc] [TestData]/main.kt:4:21: error: 'break' and 'continue' are not allowed in 'when' statements. Consider using labels to continue/break from the outer loop - [kotlinc] true -> break - [kotlinc] ^ + [kotlinc] [TestData]/main.kt:1:18: error: the feature "definitely not null type parameters" is only available since language version 1.6 + [kotlinc] fun f(t: T): T!! = t!! + [kotlinc] ^ ERR: diff --git a/compiler/testData/integration/ant/jvm/languageVersion/build.xml b/compiler/testData/integration/ant/jvm/languageVersion/build.xml index afe98b29f27..9f4bbd0ff11 100644 --- a/compiler/testData/integration/ant/jvm/languageVersion/build.xml +++ b/compiler/testData/integration/ant/jvm/languageVersion/build.xml @@ -3,7 +3,7 @@ - + diff --git a/compiler/testData/integration/ant/jvm/languageVersion/main.kt b/compiler/testData/integration/ant/jvm/languageVersion/main.kt index dd4ae569e3d..c05159a0aef 100644 --- a/compiler/testData/integration/ant/jvm/languageVersion/main.kt +++ b/compiler/testData/integration/ant/jvm/languageVersion/main.kt @@ -1 +1 @@ -sealead interface Test \ No newline at end of file +fun f(t: T): T!! = t!!