Replace annotations with brackets in testData
Just in tests that changed after deprecation
This commit is contained in:
@@ -2,10 +2,10 @@ package foo
|
||||
|
||||
annotation class fancy
|
||||
|
||||
[fancy]
|
||||
@fancy
|
||||
class Foo {
|
||||
[fancy]
|
||||
fun baz([fancy] foo : Int) : Int {
|
||||
return [fancy] 1
|
||||
@fancy
|
||||
fun baz(@fancy foo : Int) : Int {
|
||||
return (@fancy 1)
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
WARNING: compiler/testData/cli/js/diagnosticForUnhandledElements.kt: (8, 21) Parameter 'foo' is never used
|
||||
ERROR: compiler/testData/cli/js/diagnosticForUnhandledElements.kt: (9, 16) Cannot translate (not supported yet): '[fancy] 1'
|
||||
COMPILATION_ERROR
|
||||
WARNING: compiler/testData/cli/js/diagnosticForUnhandledElements.kt: (8, 20) Parameter 'foo' is never used
|
||||
ERROR: compiler/testData/cli/js/diagnosticForUnhandledElements.kt: (9, 17) Cannot translate (not supported yet): '@fancy 1'
|
||||
COMPILATION_ERROR
|
||||
Reference in New Issue
Block a user