diff --git a/figuro/ui/core.nim b/figuro/ui/core.nim index 493c9719..34f31016 100644 --- a/figuro/ui/core.nim +++ b/figuro/ui/core.nim @@ -324,7 +324,7 @@ template new*[F](t: typedesc[F], args: varargs[untyped]): auto = when t.hasGenericTypes(): widget[F, tuple[]](args) else: - widget[F, nil](args) + widget[F, void](args) macro hasGenericTypes*(n: typed): bool = echo "hasGenericTypes: ", n.lispRepr