diff options
author | Martin Odersky <odersky@gmail.com> | 2011-09-30 16:45:56 +0000 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2011-09-30 16:45:56 +0000 |
commit | a2e9a1b465c9e9baeabfbea2474ab63fa57e5100 (patch) | |
tree | 144a7dd21999be229fb8d19afe1063d00a47ee45 /src | |
parent | 2891464fbac49ebdcd794bb36e41eac8540c2806 (diff) | |
download | scala-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.
Diffstat (limited to 'src')
-rw-r--r-- | src/compiler/scala/tools/nsc/ast/parser/Parsers.scala | 2 |
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) ) ) } |