Skip to content
Browse files

Fixes https://scala-webapps.epfl.ch/jenkins/job/scala-checkin-rangpos…

  • Loading branch information...
1 parent 20cd7cc commit 821229f7fe966f955ebfa87ed0d6ed3760d3f875 @xeno-by xeno-by committed Apr 13, 2012
Showing with 1 addition and 2 deletions.
  1. +1 −2 src/compiler/scala/tools/nsc/typechecker/Typers.scala
View
3 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
}
}

0 comments on commit 821229f

Please sign in to comment.
Something went wrong with that request. Please try again.