You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
elseif (sym1 is Module) compareOwner(sym1.companionClass, sym2)
1048
1048
else0
1049
1049
1050
-
/** In a set of overloaded applicable alternatives, is `alt1` at least as good as
1051
-
* `alt2`? Also used for implicits disambiguation.
1050
+
/** Compare to alternatives of an overloaded call or an implicit search. forIn a set of overloaded applicable alternatives, is `alt1` at least as good as
1052
1051
*
1053
1052
* @paramalt1, alt2 Non-overloaded references indicating the two choices
1054
1053
* @paramlevel1, level2 If alternatives come from a comparison of two contextual
1055
1054
* implicit candidates, the nesting levels of the candidates.
1056
1055
* In all other cases the nesting levels are both 0.
1056
+
* @return 1 if 1st alternative is preferred over 2nd
1057
+
* -1 if 2nd alternative is preferred over 1st
1058
+
* 0 if neither alternative is preferred over the other
1057
1059
*
1058
-
* An alternative A1 is "as good as" an alternative A2 if it wins or draws in a tournament
1059
-
* that awards one point for each of the following
1060
+
* An alternative A1 is preferred over an alternative A2 if it wins in a tournament
1061
+
* that awards one point for each of the following:
1060
1062
*
1061
1063
* - A1 is nested more deeply than A2
1062
1064
* - The nesting levels of A1 and A2 are the same, and A1's owner derives from A2's owner
0 commit comments