@@ -301,7 +301,7 @@ trait BCodeHelpers extends BCodeIdiomatic with BytecodeWriters {
301
301
for (annot <- annotations; if shouldEmitAnnotation(annot)) {
302
302
val typ = annot.tree.tpe
303
303
val assocs = assocsFromApply(annot.tree)
304
- val av = cw.visitAnnotation(typeDescriptor(typ. asInstanceOf [ Type ] ), isRuntimeVisible(annot))
304
+ val av = cw.visitAnnotation(typeDescriptor(typ), isRuntimeVisible(annot))
305
305
emitAssocs(av, assocs, BCodeHelpers .this )(this )
306
306
}
307
307
@@ -312,7 +312,7 @@ trait BCodeHelpers extends BCodeIdiomatic with BytecodeWriters {
312
312
for (annot <- annotations; if shouldEmitAnnotation(annot)) {
313
313
val typ = annot.tree.tpe
314
314
val assocs = assocsFromApply(annot.tree)
315
- val av = mw.visitAnnotation(typeDescriptor(typ. asInstanceOf [ Type ] ), isRuntimeVisible(annot))
315
+ val av = mw.visitAnnotation(typeDescriptor(typ), isRuntimeVisible(annot))
316
316
emitAssocs(av, assocs, BCodeHelpers .this )(this )
317
317
}
318
318
@@ -323,7 +323,7 @@ trait BCodeHelpers extends BCodeIdiomatic with BytecodeWriters {
323
323
for (annot <- annotations; if shouldEmitAnnotation(annot)) {
324
324
val typ = annot.tree.tpe
325
325
val assocs = assocsFromApply(annot.tree)
326
- val av = fw.visitAnnotation(typeDescriptor(typ. asInstanceOf [ Type ] ), isRuntimeVisible(annot))
326
+ val av = fw.visitAnnotation(typeDescriptor(typ), isRuntimeVisible(annot))
327
327
emitAssocs(av, assocs, BCodeHelpers .this )(this )
328
328
}
329
329
0 commit comments