Skip to content

Commit aebd672

Browse files
authored
Merge pull request #7454 from dotty-staging/fix-#7075
Fix #7075: Fix implicit resolution spec
2 parents d2db509 + 02a2a36 commit aebd672

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/docs/reference/changed-features/implicit-resolution.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -100,9 +100,9 @@ affect implicits on the language level.
100100
```
101101
7. The rule for picking a _most specific_ alternative among a set of overloaded or implicit
102102
alternatives is refined to take inferable parameters into account. All else
103-
being equal, an alternative that takes more inferable parameters is taken to be more specific
104-
than an alternative that takes fewer. If both alternatives take the same number of
105-
inferable parameters, we try to choose between them as if they were methods with regular parameters.
103+
being equal, an alternative that takes some implicit parameters is taken to be less specific
104+
than an alternative that takes none. If both alternatives take implicit parameters, we try
105+
to choose between them as if they were methods with regular parameters.
106106
The following paragraph in the SLS is affected by this change:
107107

108108
_Original version:_

0 commit comments

Comments
 (0)