summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/compiler/scala/tools/nsc/typechecker/Namers.scala2
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 e134a81f41..9e0f70a32c 100644
--- a/src/compiler/scala/tools/nsc/typechecker/Namers.scala
+++ b/src/compiler/scala/tools/nsc/typechecker/Namers.scala
@@ -292,7 +292,7 @@ trait Namers extends MethodSynthesis {
* the flags to keep.
*/
private def createMemberSymbol(tree: MemberDef, name: Name, mask: Long): Symbol = {
- val pos = tree.pos.focus
+ val pos = tree.pos
val isParameter = tree.mods.isParameter
val sym = tree match {
case TypeDef(_, _, _, _) if isParameter => owner.newTypeParameter(pos, name.toTypeName)