Permalink
Browse files

Fixed positions for `AnnotationInfo.original`.

  • Loading branch information...
dragos committed May 15, 2012
1 parent 5963be0 commit 8a90ca702754b776ae7de120691974332ed77618
Showing with 5 additions and 1 deletion.
  1. +5 −1 src/compiler/scala/reflect/internal/AnnotationInfos.scala
@@ -138,7 +138,11 @@ trait AnnotationInfos extends api.AnnotationInfos { self: SymbolTable =>
// necessary for reification, see Reifiers.scala for more info
private var orig: Tree = EmptyTree
def original = orig
def setOriginal(t: Tree): this.type = { orig = t; this }
def setOriginal(t: Tree): this.type = {
orig = t
this setPos t.pos
this
}
override def toString = (
atp +

0 comments on commit 8a90ca7

Please sign in to comment.