Move auxiliary methods for QualifierReceiver resolution to a separate file

(to be refactored later).
Get rid of duplicate type usage validation.
This commit is contained in:
Dmitry Petrov
2015-11-09 18:22:53 +03:00
parent 3556f9751e
commit eef8c7ae09
5 changed files with 142 additions and 110 deletions
@@ -15,13 +15,13 @@ fun first() {
}
fun useObject() {
<!DEPRECATION, DEPRECATION!>Obsolete<!>.use()
<!DEPRECATION!>Obsolete<!>.use()
val <!UNUSED_VARIABLE!>x<!> = <!DEPRECATION!>Obsolete<!>
}
fun useCompanion() {
val <!UNUSED_VARIABLE!>d<!> = <!DEPRECATION!>Another<!>
val <!UNUSED_VARIABLE!>x<!> = Another.<!DEPRECATION!>Companion<!>
Another.<!DEPRECATION, DEPRECATION!>Companion<!>.use()
Another.<!DEPRECATION!>Companion<!>.use()
<!DEPRECATION!>Another<!>.use()
}