Extract method to fully or partially resolve callable reference

Reuse it in the main type-checking path in DoubleColonExpressionResolver, as
well as in ArgumentTypeResolver which handles the case when a callable
reference appears as an argument to another call
This commit is contained in:
Alexander Udalov
2016-05-04 15:09:48 +03:00
parent 693c753988
commit a3b38cf6ed
4 changed files with 65 additions and 65 deletions
@@ -8,5 +8,5 @@ fun main() {
A::<!UNRESOLVED_REFERENCE!>bar<!>
<!UNRESOLVED_REFERENCE!>B<!>::<!OVERLOAD_RESOLUTION_AMBIGUITY!>bar<!>
}
<!UNRESOLVED_REFERENCE!>B<!>::<!UNRESOLVED_REFERENCE!>bar<!>
}