Fix tests affected by annotation wrapping changes
This commit is contained in:
@@ -1,10 +1,13 @@
|
||||
// ERROR: This annotation is not applicable to target 'member property with backing field'
|
||||
internal class A {
|
||||
@Deprecated("")
|
||||
@Volatile var field1 = 0
|
||||
@Volatile
|
||||
var field1 = 0
|
||||
|
||||
@Transient var field2 = 1
|
||||
@Transient
|
||||
var field2 = 1
|
||||
|
||||
// Should work even for bad modifiers
|
||||
@Strictfp var field3 = 2.0
|
||||
@Strictfp
|
||||
var field3 = 2.0
|
||||
}
|
||||
Reference in New Issue
Block a user