Commit 164eea5
committed
Make SIP 54 a standard feature
- Drop experimental language import
- Change note in docs to say that this relaxation only applies
to extension method calls, not extension methods called as normal
methods.
I tried to also reflect the second point in error messages but it turned out too hard.
At the point where we generate the error message we do not know how the method was called and
it would be unsystematic to create that side channel. In fact, information flows the other
way: When we resolve an extension method name, we buffer the error messages and fix selected
AmbiguityErrors.1 parent d02ecd0 commit 164eea5
File tree
4 files changed
+3
-11
lines changed- compiler/src/dotty/tools/dotc
- config
- typer
- docs/_docs/reference/contextual
- library/src/scala/runtime/stdLibPatches
4 files changed
+3
-11
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
33 | 32 | | |
34 | 33 | | |
35 | 34 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
260 | 260 | | |
261 | 261 | | |
262 | 262 | | |
263 | | - | |
| 263 | + | |
264 | 264 | | |
265 | 265 | | |
266 | 266 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
254 | 254 | | |
255 | 255 | | |
256 | 256 | | |
257 | | - | |
| 257 | + | |
| 258 | + | |
258 | 259 | | |
259 | 260 | | |
260 | 261 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | 72 | | |
81 | 73 | | |
82 | 74 | | |
| |||
0 commit comments