We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e0396bf commit bb608b8Copy full SHA for bb608b8
compiler/src/dotty/tools/dotc/util/EqLinkedHashSet.scala
@@ -21,8 +21,8 @@ class EqLinkedHashSet[T](
21
map -= x
22
if map.size != linkingArray.size then linkingArray -= x
23
24
- override def clear(): Unit =
25
- map.clear()
+ override def clear(resetToInitial: Boolean = true): Unit =
+ map.clear(resetToInitial)
26
linkingArray.clear()
27
28
override def lookup(x: T): T | Null = if map.contains(x) then x else null
0 commit comments