File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ An implicit conversion from type `S` to type `T` is defined by an implicit value
16
16
Implicit conversions are applied in two situations:
17
17
18
18
* If an expression ` e ` is of type ` S ` , and ` S ` does not conform to the expression's expected type ` T ` .
19
- * In a selection ` e.m ` with ` e ` of type ` T ` , if the selector ` m ` does not denote a member of ` T ` .
19
+ * In a selection ` e.m ` with ` e ` of type ` S ` , if the selector ` m ` does not denote a member of ` S ` .
20
20
21
21
In the first case, a conversion ` c ` is searched for which is applicable to ` e ` and whose result type conforms to ` T ` .
22
22
In the second case, a conversion ` c ` is searched for which is applicable to ` e ` and whose result contains a member named ` m ` .
You can’t perform that action at this time.
0 commit comments