summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2011-09-30 16:45:56 +0000
committerMartin Odersky <odersky@gmail.com>2011-09-30 16:45:56 +0000
commita2e9a1b465c9e9baeabfbea2474ab63fa57e5100 (patch)
tree144a7dd21999be229fb8d19afe1063d00a47ee45
parent2891464fbac49ebdcd794bb36e41eac8540c2806 (diff)
downloadscala-a2e9a1b465c9e9baeabfbea2474ab63fa57e5100.tar.gz
scala-a2e9a1b465c9e9baeabfbea2474ab63fa57e5100.tar.bz2
scala-a2e9a1b465c9e9baeabfbea2474ab63fa57e5100.zip
Fixed position error in Parsers detected by Hub...
Fixed position error in Parsers detected by Hubert.
-rw-r--r--src/compiler/scala/tools/nsc/ast/parser/Parsers.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/scala/tools/nsc/ast/parser/Parsers.scala b/src/compiler/scala/tools/nsc/ast/parser/Parsers.scala
index 0ae8516de9..7ebdc5c619 100644
--- a/src/compiler/scala/tools/nsc/ast/parser/Parsers.scala
+++ b/src/compiler/scala/tools/nsc/ast/parser/Parsers.scala
@@ -2667,7 +2667,7 @@ self =>
else List(
AppliedTypeTree(
productConstrN(arity),
- vparamss.head map (vd => vd.tpt)
+ vparamss.head map (vd => vd.tpt.duplicate setPos vd.tpt.pos.focus)
)
)
}