PMunch / protobuf-nim

Protobuf implementation in pure Nim that leverages the power of the macro system to not depend on any external tools
MIT License
171 stars 14 forks source link

Fix bug where chaining field reads directly on `read` statements would read stream twice #30

Closed PMunch closed 2 years ago

PMunch commented 2 years ago

Classic template side-effect bug, luckily an easy fix. Maybe Nim should have some kind of way to limit side-effects of parameters?