File tree Expand file tree Collapse file tree 3 files changed +3
-6
lines changed
compiler/src/dotty/tools/dotc/typer Expand file tree Collapse file tree 3 files changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -1042,8 +1042,7 @@ trait Applications extends Compatibility {
10421042 case Some (arg) if tree.args.exists(_.span == arg.span) =>
10431043 val noteText =
10441044 i """ The required type comes from a parameter of the automatically
1045- |inserted `apply` method of ` ${qualifier.tpe}`,
1046- |which is the type of ` ${qualifier.show}`. """ .stripMargin
1045+ |inserted `apply` method of ` ${qualifier.tpe}`. """ .stripMargin
10471046 Diagnostic .Error (msg.appendExplanation(" \n\n " + noteText), dia.pos)
10481047 case _ => dia
10491048 case msg => dia
Original file line number Diff line number Diff line change 1919 | The tests were made under the empty constraint
2020 |
2121 | The required type comes from a parameter of the automatically
22- | inserted `apply` method of `scala.collection.StringOps`,
23- | which is the type of `augmentString(renderWebsite("/tmp")(x$1))`.
22+ | inserted `apply` method of `scala.collection.StringOps`.
2423 ---------------------------------------------------------------------------------------------------------------------
Original file line number Diff line number Diff line change 2020 | The tests were made under the empty constraint
2121 |
2222 | The required type comes from a parameter of the automatically
23- | inserted `apply` method of `List[Int]`,
24- | which is the type of `List.apply[Int]([1,2 : Int]*)`.
23+ | inserted `apply` method of `List[Int]`.
2524 ---------------------------------------------------------------------------------------------------------------------
You can’t perform that action at this time.
0 commit comments