diff options
author | Martin Odersky <odersky@gmail.com> | 2012-01-25 17:22:50 +0100 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2012-01-25 17:22:50 +0100 |
commit | 0c0ba99ce1e1488f81b63225c5dd6878d6b836b3 (patch) | |
tree | 1c82ba1917016fd3960c0db0a44567ef4790a70e /src/compiler/scala/reflect/internal/AnnotationInfos.scala | |
parent | 469af446c7f739022313011f822bd52c1c5637fd (diff) | |
download | scala-0c0ba99ce1e1488f81b63225c5dd6878d6b836b3.tar.gz scala-0c0ba99ce1e1488f81b63225c5dd6878d6b836b3.tar.bz2 scala-0c0ba99ce1e1488f81b63225c5dd6878d6b836b3.zip |
More work on making reflection thread-safe.
Diffstat (limited to 'src/compiler/scala/reflect/internal/AnnotationInfos.scala')
-rw-r--r-- | src/compiler/scala/reflect/internal/AnnotationInfos.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/scala/reflect/internal/AnnotationInfos.scala b/src/compiler/scala/reflect/internal/AnnotationInfos.scala index 255e69c3c6..c3dde3e6d1 100644 --- a/src/compiler/scala/reflect/internal/AnnotationInfos.scala +++ b/src/compiler/scala/reflect/internal/AnnotationInfos.scala @@ -178,7 +178,7 @@ trait AnnotationInfos extends api.AnnotationInfos { self: SymbolTable => private var rawpos: Position = NoPosition def pos = rawpos - def setPos(pos: Position): this.type = { + def setPos(pos: Position): this.type = { // Syncnote: Setpos inaccessible to reflection, so no sync in rawpos necessary. rawpos = pos this } |