alphaHeavy / protobuf

An implementation of Google's Protocol Buffers in Haskell.
http://hackage.haskell.org/package/protobuf
BSD 3-Clause "New" or "Revised" License
96 stars 18 forks source link

Fix failure when decoding empty [packed] fields #27

Closed nikmikov closed 8 years ago

nikmikov commented 8 years ago

Curently if message contains [packed=true] empty fields decodeMessage will fail with "Data.Binary.Get(Alternative).empty"

NathanHowell commented 8 years ago

Thanks!