From 2d3f6c81fb828adb36094b826354025ffb5442e6 Mon Sep 17 00:00:00 2001 From: Zahary Karadjov Date: Fri, 28 Dec 2018 19:24:02 +0200 Subject: [PATCH] Fix a compilation error when using the new init helpers --- std_shims/objects.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/std_shims/objects.nim b/std_shims/objects.nim index 3e75ad3..189ebc6 100644 --- a/std_shims/objects.nim +++ b/std_shims/objects.nim @@ -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)