fix parser type

This commit is contained in:
Jacek Sieka 2019-08-07 11:39:05 +02:00
parent 5e11e1f1db
commit a8d98b3e88
No known key found for this signature in database
GPG Key ID: A1B09461ABB656B8
1 changed files with 1 additions and 1 deletions

View File

@ -147,7 +147,7 @@ func readVarint*[Stream](input: var Stream,
##
## * `ValueError`
## The stream contained an invalid varint value.
var parser: VarintParser[type(outVal), flavour]
var parser: VarintParser[T, flavour]
while not input.eof:
case parser.feedByte(input.read)