Skip to content

Commit 923c777

Browse files
committed
Don't produce each time a RichCompilationUnit
The bug doesn't exist anymore This call was increasing the memory usage of ExpicitResultType
1 parent 9807b33 commit 923c777

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

scalafix-rules/src/main/scala/scala/meta/internal/proxy/GlobalProxy.scala

-3
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,6 @@ import scala.meta.internal.pc.ScalafixGlobal
66

77
object GlobalProxy {
88
def typedTreeAt(g: ScalafixGlobal, pos: Position): g.Tree = {
9-
// NOTE(olafur) clearing `unitOfFile` fixes a bug where `typedTreeAt` would
10-
// produce symbols with erroneous `.info` signatures.
11-
g.unitOfFile.clear()
129
g.typedTreeAt(pos)
1310
}
1411
}

0 commit comments

Comments
 (0)