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 da14d0d commit fe7ac0aCopy full SHA for fe7ac0a
compiler/src/dotty/tools/dotc/transform/RenameLifted.scala
@@ -31,7 +31,7 @@ class RenameLifted extends MiniPhaseTransform with SymTransformer { thisTransfor
31
32
/** Refreshes the number of the name based on the full name of the symbol */
33
private def refreshedName(sym: Symbol)(implicit ctx: Context): Name = {
34
- lazy val rewriteUnique: PartialFunction[Name, Name] = {
+ def rewriteUnique: PartialFunction[Name, Name] = {
35
case name: DerivedName if name.info.kind == UniqueName =>
36
val fullName = (sym.owner.fullName.toString + name.underlying).toTermName
37
val freshName = UniqueName.fresh(fullName)
0 commit comments