diff options
author | Sean McDirmid <sean.mcdirmid@gmail.com> | 2006-09-21 13:03:11 +0000 |
---|---|---|
committer | Sean McDirmid <sean.mcdirmid@gmail.com> | 2006-09-21 13:03:11 +0000 |
commit | 39e61508510ec0346eb5ceab0345c31b370e35c6 (patch) | |
tree | bd018447fd76dabdc2c983606b72d5a436e32461 | |
parent | 655a7f3801818e3630de4916097d46dbd8a97da3 (diff) | |
download | scala-39e61508510ec0346eb5ceab0345c31b370e35c6.tar.gz scala-39e61508510ec0346eb5ceab0345c31b370e35c6.tar.bz2 scala-39e61508510ec0346eb5ceab0345c31b370e35c6.zip |
Fixing positionConfiguratoin ref to NoPos
-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 |