diff options
author | Miles Sabin <miles@milessabin.com> | 2009-10-02 11:22:24 +0000 |
---|---|---|
committer | Miles Sabin <miles@milessabin.com> | 2009-10-02 11:22:24 +0000 |
commit | 1bc50a7c84b0abc53299b3efcfec4f6a77c759e6 (patch) | |
tree | 596ab89224300273b8b09a14957ffde91ff6ccde /src/compiler/scala/tools/nsc/typechecker/Namers.scala | |
parent | caa2d287d640a1917467c310f9240cd133a41f4a (diff) | |
download | scala-1bc50a7c84b0abc53299b3efcfec4f6a77c759e6.tar.gz scala-1bc50a7c84b0abc53299b3efcfec4f6a77c759e6.tar.bz2 scala-1bc50a7c84b0abc53299b3efcfec4f6a77c759e6.zip |
Patch from Mirko Stoker to add positions to Mod...
Patch from Mirko Stoker to add positions to Modifiers.
Diffstat (limited to 'src/compiler/scala/tools/nsc/typechecker/Namers.scala')
-rw-r--r-- | src/compiler/scala/tools/nsc/typechecker/Namers.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/scala/tools/nsc/typechecker/Namers.scala b/src/compiler/scala/tools/nsc/typechecker/Namers.scala index e84a1dd4d4..7a94f95d52 100644 --- a/src/compiler/scala/tools/nsc/typechecker/Namers.scala +++ b/src/compiler/scala/tools/nsc/typechecker/Namers.scala @@ -482,7 +482,7 @@ trait Namers { self: Analyzer => val getterName = if (hasBoolBP) "is" + beanName else "get" + beanName - val getterMods = Modifiers(flags, mods.privateWithin, Nil) + val getterMods = Modifiers(flags, mods.privateWithin, Nil, mods.positions) val beanGetterDef = atPos(vd.pos.focus) { DefDef(getterMods, getterName, Nil, List(Nil), tpt.duplicate, if (mods hasFlag DEFERRED) EmptyTree |