Disallowed @Deprecated for local variables and parameters

This commit is contained in:
Valentin Kipyatkov
2015-09-07 20:37:07 +03:00
parent 5d09edb3e6
commit 452cd49c5e
6 changed files with 12 additions and 7 deletions
+3 -1
View File
@@ -1,6 +1,8 @@
package test
enum class MyEnum(@param:Deprecated("") @property:Deprecated("") val ord: Int) {
annotation class AAA
enum class MyEnum(@param:AAA @property:Deprecated("") val ord: Int) {
ENTRY(239);
fun f(@java.lang.Deprecated p: Int) {