diff options
author | Eugene Burmako <xeno.by@gmail.com> | 2012-04-13 01:11:41 +0200 |
---|---|---|
committer | Eugene Burmako <xeno.by@gmail.com> | 2012-04-13 09:08:49 +0200 |
commit | 821229f7fe966f955ebfa87ed0d6ed3760d3f875 (patch) | |
tree | f9949a312d909ec435b547faa0ec366288bc462c /src/compiler/scala/tools/nsc/typechecker/Typers.scala | |
parent | 20cd7cc077491ad4da4aace7376fddc2c05f4186 (diff) | |
download | scala-821229f7fe966f955ebfa87ed0d6ed3760d3f875.tar.gz scala-821229f7fe966f955ebfa87ed0d6ed3760d3f875.tar.bz2 scala-821229f7fe966f955ebfa87ed0d6ed3760d3f875.zip |
Fixes https://scala-webapps.epfl.ch/jenkins/job/scala-checkin-rangpos/404/
Diffstat (limited to 'src/compiler/scala/tools/nsc/typechecker/Typers.scala')
-rw-r--r-- | src/compiler/scala/tools/nsc/typechecker/Typers.scala | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/compiler/scala/tools/nsc/typechecker/Typers.scala b/src/compiler/scala/tools/nsc/typechecker/Typers.scala index 2b7c8e8304..2d1c62d347 100644 --- a/src/compiler/scala/tools/nsc/typechecker/Typers.scala +++ b/src/compiler/scala/tools/nsc/typechecker/Typers.scala @@ -3483,7 +3483,6 @@ trait Typers extends Modes with Adaptations with PatMatVirtualiser { else tree original setType ann.tpe - original setPos tree.pos.focus TypeTree(tpe) setOriginal original setPos tree.pos.focus } @@ -3542,7 +3541,7 @@ trait Typers extends Modes with Adaptations with PatMatVirtualiser { ann.tpe = arg1.tpe.withAnnotation(annotInfo) } val atype = ann.tpe - Typed(arg1, resultingTypeTree(atype)) setPos tree.pos.focus setType atype + Typed(arg1, resultingTypeTree(atype)) setPos tree.pos setType atype } } |