[IDEA-TESTS] Specify language version in feature-dependent tests

Some quickfixes are relying on diagnostics, that won't be reported
with new language features enabled.
`MixedNamedArgumentsInTheirOwnPosition`
`AllowBreakAndContinueInsideWhen`
This commit is contained in:
Pavel Kirpichenkov
2020-02-13 19:04:52 +03:00
parent 85d7a0f6b1
commit fda8d7de8b
29 changed files with 46 additions and 4 deletions
@@ -1,5 +1,4 @@
// "Create property 'foo' as constructor parameter" "true"
// ERROR: The feature "trailing commas" is only available since language version 1.4
// ERROR: No value passed for parameter 'foo'
class A<T>(val n: T)
@@ -1,5 +1,4 @@
// "Create property 'foo' as constructor parameter" "true"
// ERROR: The feature "trailing commas" is only available since language version 1.4
// ERROR: No value passed for parameter 'foo'
class A<T>(val n: T, val foo: A<Int>)
@@ -1,5 +1,4 @@
// "Create property 'foo' as constructor parameter" "true"
// ERROR: The feature "trailing commas" is only available since language version 1.4
// ERROR: No value passed for parameter 'foo'
class A<T>(val n: T)
@@ -1,5 +1,4 @@
// "Create property 'foo' as constructor parameter" "true"
// ERROR: The feature "trailing commas" is only available since language version 1.4
// ERROR: No value passed for parameter 'foo'
class A<T>(val n: T, var foo: String)