Skip to content

Commit e095228

Browse files
committed
Merge pull request #557 from dotty-staging/cleanup-non-deviation
Cleanup non-deviation.
2 parents 31fbfcc + 7669286 commit e095228

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

src/dotty/tools/backend/jvm/DottyBackendInterface.scala

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -307,13 +307,8 @@ class DottyBackendInterface()(implicit ctx: Context) extends BackendInterface{
307307

308308
private def emitAssocs(av: asm.AnnotationVisitor, assocs: List[(Name, Object)], bcodeStore: BCodeHelpers)
309309
(innerClasesStore: bcodeStore.BCInnerClassGen) = {
310-
//for ((name, value) <- assocs) { // dotty deviation, does not work
311-
312-
for (nv <- assocs) {
313-
val name = nv._1
314-
val value = nv._2
310+
for ((name, value) <- assocs)
315311
emitArgument(av, name.toString, value.asInstanceOf[Tree], bcodeStore)(innerClasesStore)
316-
}
317312
av.visitEnd()
318313
}
319314

0 commit comments

Comments
 (0)