fix fromBytes call resolution (#140)
This commit is contained in:
parent
142a408ca7
commit
0c379cf1d8
|
@ -167,7 +167,7 @@ template fromBytes*(
|
|||
I: type SomeUnsignedInt,
|
||||
x: Leb128Buf): tuple[val: I, len: int8] =
|
||||
# x is not guaranteed to be valid, so we treat it like any other buffer!
|
||||
I.fromBytes(x.toOpenArray(), Leb128)
|
||||
fromBytes(I, x.toOpenArray(), Leb128)
|
||||
|
||||
func scan*(
|
||||
I: type SomeUnsignedInt,
|
||||
|
|
Loading…
Reference in New Issue