Skip to content

Commit 7f1458a

Browse files
committed
wip
1 parent a4c92cb commit 7f1458a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

confutils.nim

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1420,6 +1420,8 @@ proc flattenedAccessorsImpl(RecordType: NimNode): NimNode =
14201420
debugMacroResult "Flattened Accessors"
14211421

14221422
macro flattenedAccessors*(Configuration: type): untyped =
1423+
## Generates accessors to omit specifying the ``{.flatten.}``
1424+
## field name when accessing a flattened option.
14231425
flattenedAccessorsImpl(Configuration)
14241426

14251427
{.pop.}

0 commit comments

Comments
 (0)