Generate deprecated flag on getter of const val's

This commit is contained in:
Denis Zharkov
2015-09-25 16:13:31 +03:00
parent 1c6ca9d036
commit 505cb37052
3 changed files with 28 additions and 0 deletions
@@ -0,0 +1,19 @@
const val CONST_VAL = 1
object A {
const val CONST_VAL = 2
}
class B {
companion object {
const val CONST_VAL = 2
}
}
/*
One DEPRECATED is for _DefaultPackage
One is for _DefaultPackage.getCONST_VAL
3 others are for getCONST_VAL
*/
// 5 DEPRECATED