Export generated init
This commit is contained in:
parent
b5fd4295e6
commit
ee53768c13
2 changed files with 2 additions and 2 deletions
|
|
@ -466,7 +466,7 @@ proc genType(obj: ObjectDecl): NimNode {.compileTime.} =
|
|||
returnType: newEmptyNode(),
|
||||
isVirtual: true,
|
||||
isNoGodot: false,
|
||||
nimNode: newProc(ident("init"), body = initBody,
|
||||
nimNode: newProc(postfix(ident("init"), "*"), body = initBody,
|
||||
procType = nnkMethodDef)
|
||||
))
|
||||
else:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue