Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
Signed-off-by: George Lemon <georgelemon@protonmail.com>
  • Loading branch information
georgelemon committed Apr 3, 2024
1 parent f6b4fd5 commit fe502c3
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/voodoo/setget.nim
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ macro setters*(excludes: untyped, obj: untyped) =
## Optionally, you can exclude fields from generation
expectKind excludes, nnkBracket
excludeFields = excludes.mapIt($it)
echo obj[0].treeRepr
add obj[0][1], ident("setters")
obj

Expand Down Expand Up @@ -106,7 +105,6 @@ macro getters*(obj: untyped) =
macro getters*(excludes: untyped, obj: untyped) =
expectKind excludes, nnkBracket
excludeFields = excludes.mapIt($it)
echo obj[0].treeRepr
add obj[0][1], ident("getters")
obj

Expand Down

0 comments on commit fe502c3

Please sign in to comment.