File tree 3 files changed +3
-6
lines changed
compiler/src/dotty/tools/dotc/typer
3 files changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -1038,8 +1038,7 @@ trait Applications extends Compatibility {
1038
1038
case Some (arg) if tree.args.exists(_.span == arg.span) =>
1039
1039
val noteText =
1040
1040
i """ The required type comes from a parameter of the automatically
1041
- |inserted `apply` method of ` ${qualifier.tpe}`,
1042
- |which is the type of ` ${qualifier.show}`. """ .stripMargin
1041
+ |inserted `apply` method of ` ${qualifier.tpe}`. """ .stripMargin
1043
1042
Diagnostic .Error (msg.appendExplanation(" \n\n " + noteText), dia.pos)
1044
1043
case _ => dia
1045
1044
case msg => dia
Original file line number Diff line number Diff line change 19
19
| The tests were made under the empty constraint
20
20
|
21
21
| 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`.
24
23
---------------------------------------------------------------------------------------------------------------------
Original file line number Diff line number Diff line change 20
20
| The tests were made under the empty constraint
21
21
|
22
22
| 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]`.
25
24
---------------------------------------------------------------------------------------------------------------------
You can’t perform that action at this time.
0 commit comments