From a8d98b3e882646fb5e8288c3ea14610cc26b8462 Mon Sep 17 00:00:00 2001 From: Jacek Sieka Date: Wed, 7 Aug 2019 11:39:05 +0200 Subject: [PATCH] fix parser type --- stew/varints.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stew/varints.nim b/stew/varints.nim index 33cae14..d1f7d4d 100644 --- a/stew/varints.nim +++ b/stew/varints.nim @@ -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)