Commit 8c4aa8a
authored
Clarify extension member resolution (#4116)
Clarify extension member resolution: The applicability of a given extension for an invocation of an extension instance member `m` would require that the static type of the syntactic receiver does not have 'a member whose basename is the basename of `m`'. This PR makes it explicit that this is 'an instance member whose basename is the basename of `m`', and it isn't relevant if the declaration that induced said type has a static member with such a name.1 parent 3503e49 commit 8c4aa8a
1 file changed
+6
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
44 | 49 | | |
45 | 50 | | |
46 | 51 | | |
| |||
6661 | 6666 | | |
6662 | 6667 | | |
6663 | 6668 | | |
6664 | | - | |
| 6669 | + | |
6665 | 6670 | | |
6666 | 6671 | | |
6667 | 6672 | | |
| |||
0 commit comments