Fix a compilation error when using the new init helpers

This commit is contained in:
Zahary Karadjov 2018-12-28 19:24:02 +02:00
parent 5a7ec517b0
commit 2d3f6c81fb

View File

@ -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)