We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ebafdf2 commit e69ca30Copy full SHA for e69ca30
compiler/src/dotty/tools/dotc/rewrites/Rewrites.scala
@@ -32,7 +32,7 @@ object Rewrites {
32
case class ActionPatch(srcPos: SourcePosition, replacement: String)
33
34
private class Patches(source: SourceFile) {
35
- private[Rewrites] val pbuf = mutable.ListBuffer.empty[Patch]
+ private[Rewrites] val pbuf = new mutable.ListBuffer[Patch]()
36
37
def addPatch(span: Span, replacement: String): Unit =
38
pbuf += Patch(span, replacement)
0 commit comments