Prohibit body for annotation class
#KT-1886 Fixed
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
annotation class test {}
|
||||
annotation class test
|
||||
|
||||
fun foo(test <!UNUSED_PARAMETER!>f<!> : Int) {}
|
||||
|
||||
@@ -8,4 +8,4 @@ var bar : Int = 1
|
||||
val x : (Int) -> Int = {([test] x : Int) -> x}
|
||||
|
||||
class Hello(test args: Any) {
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user