Skip to content

Commit 02a2a36

Browse files
committed
Fix implicit resolution spec
The spec contained wording that was inconsistent with the precise rules gjven later. I verified that spec and implementation match now.
1 parent 09b45d3 commit 02a2a36

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)