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:
+2
-2
@@ -8,5 +8,5 @@ fun main() {
|
||||
|
||||
A::<!UNRESOLVED_REFERENCE!>bar<!>
|
||||
|
||||
<!UNRESOLVED_REFERENCE!>B<!>::<!OVERLOAD_RESOLUTION_AMBIGUITY!>bar<!>
|
||||
}
|
||||
<!UNRESOLVED_REFERENCE!>B<!>::<!UNRESOLVED_REFERENCE!>bar<!>
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user