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 de2c072 commit 1ff85dcCopy full SHA for 1ff85dc
compiler/src/dotty/tools/dotc/transform/init/Semantic.scala
@@ -1146,7 +1146,7 @@ object Semantic:
1146
private val pendingTasks: mutable.ArrayBuffer[Task] = new mutable.ArrayBuffer
1147
1148
def addTask(task: Task): Unit =
1149
- if !pendingTasks.contains(task) then pendingTasks += task
+ if !pendingTasks.contains(task) then pendingTasks.append(task)
1150
1151
/** Process the worklist until done */
1152
final def work()(using Cache, Context): Unit =
0 commit comments