diff options
author | Martin Odersky <odersky@gmail.com> | 2015-11-08 10:42:02 +0100 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2015-11-09 15:45:40 +0100 |
commit | a1bd4dc57c9f1dbf548fa9f6ea3c4d2895ca1d35 (patch) | |
tree | e76592410a9a19fdd81684bf3580f8de639e86a0 /src/dotty/tools/dotc/core/Annotations.scala | |
parent | 4f01f62ac216fa9034d343828aa6f4be626d9b36 (diff) | |
download | dotty-a1bd4dc57c9f1dbf548fa9f6ea3c4d2895ca1d35.tar.gz dotty-a1bd4dc57c9f1dbf548fa9f6ea3c4d2895ca1d35.tar.bz2 dotty-a1bd4dc57c9f1dbf548fa9f6ea3c4d2895ca1d35.zip |
Rename AnnotRef -> AnnotType
Diffstat (limited to 'src/dotty/tools/dotc/core/Annotations.scala')
-rw-r--r-- | src/dotty/tools/dotc/core/Annotations.scala | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dotty/tools/dotc/core/Annotations.scala b/src/dotty/tools/dotc/core/Annotations.scala index 0aedb16a0..b9c0eca43 100644 --- a/src/dotty/tools/dotc/core/Annotations.scala +++ b/src/dotty/tools/dotc/core/Annotations.scala @@ -91,12 +91,12 @@ object Annotations { def makeChild(sym: Symbol)(implicit ctx: Context) = deferred(defn.ChildAnnot, - implicit ctx => New(defn.ChildAnnotRef.appliedTo(sym.owner.thisType.select(sym.name, sym)), Nil)) + implicit ctx => New(defn.ChildAnnotType.appliedTo(sym.owner.thisType.select(sym.name, sym)), Nil)) } def ThrowsAnnotation(cls: ClassSymbol)(implicit ctx: Context) = { val tref = cls.typeRef - Annotation(defn.ThrowsAnnotRef.appliedTo(tref), Ident(tref)) + Annotation(defn.ThrowsAnnotType.appliedTo(tref), Ident(tref)) } /** A decorator that provides queries for specific annotations |