fix parser type
This commit is contained in:
parent
5e11e1f1db
commit
a8d98b3e88
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue