File tree Expand file tree Collapse file tree 1 file changed +12
-9
lines changed
src/compiler/scala/tools/nsc/symtab/classfile Expand file tree Collapse file tree 1 file changed +12
-9
lines changed Original file line number Diff line number Diff line change @@ -1211,15 +1211,18 @@ abstract class ClassfileParser {
1211
1211
val numAnnots = u2
1212
1212
var i = 0
1213
1213
var bytes : Array [Byte ] = null
1214
- while (i < numAnnots && bytes == null ) pool.getType(u2) match {
1215
- case SigTpe =>
1216
- checkScalaSigAnnotArg()
1217
- bytes = parseScalaSigBytes()
1218
- case LongSigTpe =>
1219
- checkScalaSigAnnotArg()
1220
- bytes = parseScalaLongSigBytes()
1221
- case _ =>
1222
- skipAnnotArgs()
1214
+ while (i < numAnnots && bytes == null ) {
1215
+ pool.getType(u2) match {
1216
+ case SigTpe =>
1217
+ checkScalaSigAnnotArg()
1218
+ bytes = parseScalaSigBytes()
1219
+ case LongSigTpe =>
1220
+ checkScalaSigAnnotArg()
1221
+ bytes = parseScalaLongSigBytes()
1222
+ case t =>
1223
+ skipAnnotArgs()
1224
+ }
1225
+ i += 1
1223
1226
}
1224
1227
1225
1228
AnyRefClass // Force scala.AnyRef, otherwise we get "error: Symbol AnyRef is missing from the classpath"
You can’t perform that action at this time.
0 commit comments