diff options
author | Martin Odersky <odersky@gmail.com> | 2015-05-12 10:36:32 +0200 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2015-05-12 10:36:32 +0200 |
commit | 7669286edec331dedbb43b3a74c30df0e972257f (patch) | |
tree | 4bd8fee21eb4cac98bfc791544887b5a7322eaa0 /src/dotty/tools/backend | |
parent | 2da8afdca1c357d6cada891c70e68e386c44c2f3 (diff) | |
download | dotty-7669286edec331dedbb43b3a74c30df0e972257f.tar.gz dotty-7669286edec331dedbb43b3a74c30df0e972257f.tar.bz2 dotty-7669286edec331dedbb43b3a74c30df0e972257f.zip |
Cleanup non-deviation.
There was a "dotty deviation - does not work" in DottyBackendInterface, which does work after all.
Reverting to more idiomatic code.
Diffstat (limited to 'src/dotty/tools/backend')
-rw-r--r-- | src/dotty/tools/backend/jvm/DottyBackendInterface.scala | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/dotty/tools/backend/jvm/DottyBackendInterface.scala b/src/dotty/tools/backend/jvm/DottyBackendInterface.scala index 4aa2e75dd..a72ed1130 100644 --- a/src/dotty/tools/backend/jvm/DottyBackendInterface.scala +++ b/src/dotty/tools/backend/jvm/DottyBackendInterface.scala @@ -307,13 +307,8 @@ class DottyBackendInterface()(implicit ctx: Context) extends BackendInterface{ private def emitAssocs(av: asm.AnnotationVisitor, assocs: List[(Name, Object)], bcodeStore: BCodeHelpers) (innerClasesStore: bcodeStore.BCInnerClassGen) = { - //for ((name, value) <- assocs) { // dotty deviation, does not work - - for (nv <- assocs) { - val name = nv._1 - val value = nv._2 + for ((name, value) <- assocs) emitArgument(av, name.toString, value.asInstanceOf[Tree], bcodeStore)(innerClasesStore) - } av.visitEnd() } |