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 @@ -1042,8 +1042,7 @@ trait Applications extends Compatibility {
1042
1042
case Some (arg) if tree.args.exists(_.span == arg.span) =>
1043
1043
val noteText =
1044
1044
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
1047
1046
Diagnostic .Error (msg.appendExplanation(" \n\n " + noteText), dia.pos)
1048
1047
case _ => dia
1049
1048
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