Skip to content

Commit

Permalink
docs
Browse files Browse the repository at this point in the history
  • Loading branch information
elcritch committed Nov 12, 2023
1 parent fa3fa1c commit c270e6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion figuro/ui/core.nim
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c270e6c

Please sign in to comment.