We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a4c92cb commit 7f1458aCopy full SHA for 7f1458a
confutils.nim
@@ -1420,6 +1420,8 @@ proc flattenedAccessorsImpl(RecordType: NimNode): NimNode =
1420
debugMacroResult "Flattened Accessors"
1421
1422
macro flattenedAccessors*(Configuration: type): untyped =
1423
+ ## Generates accessors to omit specifying the ``{.flatten.}``
1424
+ ## field name when accessing a flattened option.
1425
flattenedAccessorsImpl(Configuration)
1426
1427
{.pop.}
0 commit comments