Skip to content

Commit 2df8031

Browse files
committed
Fix test comment
1 parent 83f86ab commit 2df8031

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

tests/run/iterator-from.scala

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -64,10 +64,7 @@ object Test extends dotty.runtime.LegacyApp {
6464
testSet(mutable.TreeSet(keys:_*), keys)
6565
val days = keys map {n => Weekday(n % Weekday.values.size)}
6666

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)
67+
testSet(Weekday.ValueSet(days:_*), days) // Note: produces divergent search in scalac
7168

7269
val treeMap = immutable.TreeMap(keyValues:_*)
7370
testMap(treeMap, keyValues)

0 commit comments

Comments
 (0)