File tree Expand file tree Collapse file tree 5 files changed +12
-4
lines changed
compiler/src/dotty/tools/dotc/transform Expand file tree Collapse file tree 5 files changed +12
-4
lines changed Original file line number Diff line number Diff line change @@ -190,7 +190,7 @@ object ExtensionMethods {
190190 // See the documentation of `memberSignature` to understand why `.stripPoly.ensureMethodic` is needed here.
191191 candidates filter (c => FullParameterization .memberSignature(c.info) == imeth.info.stripPoly.ensureMethodic.signature)
192192 assert(matching.nonEmpty,
193- i """ no extension method found for
193+ i """ no extension method found for:
194194 |
195195 | $imeth: ${imeth.info.show} with signature ${imeth.info.signature} in ${companion.moduleClass}
196196 |
Original file line number Diff line number Diff line change 11---
22layout : doc-page
3- title : " Scala3 Syntax Summary"
3+ title : " Scala 3 Syntax Summary"
44---
55
66The following descriptions of Scala tokens uses literal characters ` ‘c’ ` when
Original file line number Diff line number Diff line change 11---
22layout : doc-page
3- title : " Scala3 Syntax Summary"
3+ title : " Scala 3 Syntax Summary"
44---
55
66The 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 {
232321 | println(1 appendS 2)
2424 | ^^^^^^^^^
2525 |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:
2727 |
2828 | Semigroup.sumSemigroup[Any](/* ambiguous */ implicitly[Numeric[Any]]).appendS()
2929one 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