Do not report deprecation on members of deprecated companion

This deprecation is reported on the companion itself anyway
This commit is contained in:
Alexander Udalov
2016-09-19 13:26:18 +03:00
parent b08ed14f66
commit 8949ffbef1
3 changed files with 6 additions and 13 deletions
@@ -8,8 +8,8 @@ class Another {
fun first() {
<!DEPRECATION!>Another<!>.use()
Another.<!DEPRECATION!>Companion<!>.<!DEPRECATION!>USE<!> // TODO
<!DEPRECATION!>Another<!>.<!DEPRECATION!>USE<!> // TODO
Another.<!DEPRECATION!>Companion<!>.USE
<!DEPRECATION!>Another<!>.USE
}
fun useCompanion() {