Skip to content

Commit

Permalink
Fix accidental double readEnd
Browse files Browse the repository at this point in the history
  • Loading branch information
dwijnand committed Aug 25, 2021
1 parent 5541fb4 commit 05b9abb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -72,11 +72,11 @@ object MimaUnpickler {

def readSymbol(tag: Int): SymbolInfo = {
// SymbolInfo = name_Ref owner_Ref flags_LongNat [privateWithin_Ref] info_Ref
val end = readEnd()
if (tag == NONEsym) {
buf.readIndex = readEnd()
return NoSymbol
}
val end = readEnd()
val name = readNameRef()
val owner = readSymRef()
val flags = buf.readLongNat()
Expand Down

0 comments on commit 05b9abb

Please sign in to comment.