diff options
author | Dmitry Petrashko <dmitry.petrashko@gmail.com> | 2015-07-14 15:16:32 +0200 |
---|---|---|
committer | Dmitry Petrashko <dmitry.petrashko@gmail.com> | 2015-07-14 15:16:32 +0200 |
commit | 90c2bed395f4b449cf25392504ad39462cb99b72 (patch) | |
tree | 24ae3895fd0c77790be0602aac590f1b69081b76 /src/dotty/tools/backend/jvm | |
parent | 74c2e2326f6a68a889347ef3052d88a586aca84f (diff) | |
download | dotty-90c2bed395f4b449cf25392504ad39462cb99b72.tar.gz dotty-90c2bed395f4b449cf25392504ad39462cb99b72.tar.bz2 dotty-90c2bed395f4b449cf25392504ad39462cb99b72.zip |
Implement emotion of annotations in GenBCode.
Fixes #688
Diffstat (limited to 'src/dotty/tools/backend/jvm')
-rw-r--r-- | src/dotty/tools/backend/jvm/DottyBackendInterface.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dotty/tools/backend/jvm/DottyBackendInterface.scala b/src/dotty/tools/backend/jvm/DottyBackendInterface.scala index 4a828c5bd..8136b3dcd 100644 --- a/src/dotty/tools/backend/jvm/DottyBackendInterface.scala +++ b/src/dotty/tools/backend/jvm/DottyBackendInterface.scala @@ -621,7 +621,7 @@ class DottyBackendInterface()(implicit ctx: Context) extends BackendInterface{ def hasModuleFlag: Boolean = sym is Flags.Module def isSynchronized: Boolean = sym is Flags.Synchronized def isNonBottomSubClass(other: Symbol): Boolean = sym.derivesFrom(other) - def hasAnnotation(sym: Symbol): Boolean = false + def hasAnnotation(ann: Symbol): Boolean = toDenot(sym).hasAnnotation(ann) def shouldEmitForwarders: Boolean = //exitingPickler { !(sym.name.toString contains '$') (sym is Flags.Module) && !(sym is Flags.ImplClass) /// !sym.isNestedClass def isJavaEntryPoint: Boolean = CollectEntryPoints.isJavaEntryPoint(sym) |