We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 83f86ab commit 2df8031Copy full SHA for 2df8031
tests/run/iterator-from.scala
@@ -64,10 +64,7 @@ object Test extends dotty.runtime.LegacyApp {
64
testSet(mutable.TreeSet(keys:_*), keys)
65
val days = keys map {n => Weekday(n % Weekday.values.size)}
66
67
- // The following does not work with the implicit change that propagates nested ambiguous errors to the top.
68
- // We get ambiguous implicits because Predef.$conforms and convertIfView both fit WeekDay.Value => Ordered[WeekDay.Value].
69
- // It does not work in scalac either; there we get a divergent implicit.
70
- testSet(Weekday.ValueSet(days:_*), days)
+ testSet(Weekday.ValueSet(days:_*), days) // Note: produces divergent search in scalac
71
72
val treeMap = immutable.TreeMap(keyValues:_*)
73
testMap(treeMap, keyValues)
0 commit comments