File tree 5 files changed +12
-4
lines changed
compiler/src/dotty/tools/dotc/transform
5 files changed +12
-4
lines changed Original file line number Diff line number Diff line change @@ -190,7 +190,7 @@ object ExtensionMethods {
190
190
// See the documentation of `memberSignature` to understand why `.stripPoly.ensureMethodic` is needed here.
191
191
candidates filter (c => FullParameterization .memberSignature(c.info) == imeth.info.stripPoly.ensureMethodic.signature)
192
192
assert(matching.nonEmpty,
193
- i """ no extension method found for
193
+ i """ no extension method found for:
194
194
|
195
195
| $imeth: ${imeth.info.show} with signature ${imeth.info.signature} in ${companion.moduleClass}
196
196
|
Original file line number Diff line number Diff line change 1
1
---
2
2
layout : doc-page
3
- title : " Scala3 Syntax Summary"
3
+ title : " Scala 3 Syntax Summary"
4
4
---
5
5
6
6
The following descriptions of Scala tokens uses literal characters ` ‘c’ ` when
Original file line number Diff line number Diff line change 1
1
---
2
2
layout : doc-page
3
- title : " Scala3 Syntax Summary"
3
+ title : " Scala 3 Syntax Summary"
4
4
---
5
5
6
6
The following descriptions of Scala tokens uses literal characters ` ‘c’ ` when
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ object Main {
23
23
21 | println(1 appendS 2)
24
24
| ^^^^^^^^^
25
25
|value appendS is not a member of Int.
26
- |An extension method was tried, but could not be fully constructed
26
+ |An extension method was tried, but could not be fully constructed:
27
27
|
28
28
| Semigroup.sumSemigroup[Any](/* ambiguous */ implicitly[Numeric[Any]]).appendS()
29
29
one error found
Original file line number Diff line number Diff line change
1
+
2
+ package p:
3
+ def f = 10
4
+
5
+ package q:
6
+ def g = 20
7
+
8
+ def Test = p.f + q.g
You can’t perform that action at this time.
0 commit comments