From 37907397a442a7a5aea9c1bb99b8cd0037dd74bd Mon Sep 17 00:00:00 2001 From: extempore Date: Sun, 13 Nov 2011 12:30:36 +0000 Subject: [PATCH] Testing a theory about the windows build. git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@25998 5e8d7ff9-d8ef-0310-90f0-a4852d11357a --- src/compiler/scala/tools/nsc/typechecker/Namers.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/compiler/scala/tools/nsc/typechecker/Namers.scala b/src/compiler/scala/tools/nsc/typechecker/Namers.scala index b6bb61298..285fa5ab9 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 + val pos = tree.pos.focus val isParameter = tree.mods.isParameter val sym = tree match { case TypeDef(_, _, _, _) if isParameter => owner.newTypeParameter(pos, name.toTypeName)