mirror of
https://github.com/status-im/nim-stew.git
synced 2025-02-13 12:36:57 +00:00
Fix a compilation error when using the new init helpers
This commit is contained in:
parent
5a7ec517b0
commit
2d3f6c81fb
@ -1,4 +1,4 @@
|
||||
template init*(lvalue: var auto, args: varargs[typed]) =
|
||||
template init*(lvalue: var auto, args: varargs[untyped]) =
|
||||
mixin init
|
||||
lvalue = init(type(lvalue), args)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user