diff options
-rw-r--r-- | src/compiler/scala/tools/nsc/backend/jvm/GenJVM.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/scala/tools/nsc/backend/jvm/GenJVM.scala b/src/compiler/scala/tools/nsc/backend/jvm/GenJVM.scala index 26275056df..d3f9160411 100644 --- a/src/compiler/scala/tools/nsc/backend/jvm/GenJVM.scala +++ b/src/compiler/scala/tools/nsc/backend/jvm/GenJVM.scala @@ -422,7 +422,7 @@ abstract class GenJVM extends SubComponent { val outerField = clasz.symbol.info.decl(nme.getterToLocal(nme.OUTER)); if (outerField != NoSymbol) { log("Adding fake local to represent outer 'this' for closure " + clasz); - val _this = new Local(method.symbol.newVariable(positionConfiguration.NoPos, "this$"), toTypeKind(outerField.tpe), false); + val _this = new Local(method.symbol.newVariable(NoPos, "this$"), toTypeKind(outerField.tpe), false); m.locals = m.locals ::: List(_this); computeLocalVarsIndex(m) // since we added a new local, we need to recompute indexes |