Skip to content

Commit e6ffe35

Browse files
committed
Bring back iterator-from from pending
1 parent 7da033b commit e6ffe35

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

compiler/src/dotty/tools/dotc/typer/Implicits.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -657,7 +657,7 @@ trait Implicits { self: Typer =>
657657
arg.tpe match {
658658
case ambi: AmbiguousImplicits =>
659659
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")
661661
case _ =>
662662
val userDefined =
663663
for {

tests/pending/run/iterator-from.scala renamed to tests/run/iterator-from.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ object Test extends dotty.runtime.LegacyApp {
6767
// The following does not work with the implicit change that propagates nested ambiguous errors to the top.
6868
// We get ambiguous implicits because Predef.$conforms and convertIfView both fit WeekDay.Value => Ordered[WeekDay.Value].
6969
// 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)
7171

7272
val treeMap = immutable.TreeMap(keyValues:_*)
7373
testMap(treeMap, keyValues)

0 commit comments

Comments
 (0)