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/Typers.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/Typers.scala')
-rw-r--r-- | src/compiler/scala/tools/nsc/typechecker/Typers.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/scala/tools/nsc/typechecker/Typers.scala b/src/compiler/scala/tools/nsc/typechecker/Typers.scala index c3fa5555c4..030028fcf6 100644 --- a/src/compiler/scala/tools/nsc/typechecker/Typers.scala +++ b/src/compiler/scala/tools/nsc/typechecker/Typers.scala @@ -1425,7 +1425,7 @@ trait Typers { self: Analyzer => * into the symbol's ``annotations'' in the type completer / namer) */ def removeAnnotations(mods: Modifiers): Modifiers = - Modifiers(mods.flags, mods.privateWithin, Nil) + Modifiers(mods.flags, mods.privateWithin, Nil, mods.positions) /** * @param vdef ... |