File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
compiler/src/dotty/tools/dotc/typer Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -657,7 +657,7 @@ trait Implicits { self: Typer =>
657
657
arg.tpe match {
658
658
case ambi : AmbiguousImplicits =>
659
659
msg(s " ambiguous implicit arguments: ${ambi.explanation} of $where" )(
660
- s " ambiguous implicit arguments of type $pt found for $where" )
660
+ s " ambiguous implicit arguments of type ${pt.show} found for $where" )
661
661
case _ =>
662
662
val userDefined =
663
663
for {
Original file line number Diff line number Diff line change @@ -67,7 +67,7 @@ object Test extends dotty.runtime.LegacyApp {
67
67
// The following does not work with the implicit change that propagates nested ambiguous errors to the top.
68
68
// We get ambiguous implicits because Predef.$conforms and convertIfView both fit WeekDay.Value => Ordered[WeekDay.Value].
69
69
// It does not work in scalac either; there we get a divergent implicit.
70
- // testSet(Weekday.ValueSet(days:_*), days)
70
+ testSet(Weekday .ValueSet (days:_* ), days)
71
71
72
72
val treeMap = immutable.TreeMap (keyValues:_* )
73
73
testMap(treeMap, keyValues)
You can’t perform that action at this time.
0 commit comments