Skip to content

Commit

Permalink
fixes another silly arc/orc bug [backport:1.2]
Browse files Browse the repository at this point in the history
  • Loading branch information
Araq committed Apr 29, 2020
1 parent d9e907c commit bd57f0c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions compiler/ccgtypes.nim
Original file line number Diff line number Diff line change
Expand Up @@ -1322,6 +1322,7 @@ proc genTypeInfoV2(m: BModule, t, origType: PType, name: Rope; info: TLineInfo)
else:
typeName = rope("NIM_NIL")

discard cgsym(m, "TNimType")
m.s[cfsData].addf("N_LIB_PRIVATE TNimType $1;$n", [name])
let destroyImpl = genHook(m, t, info, attachedDestructor)
let traceImpl = genHook(m, t, info, attachedTrace)
Expand Down

0 comments on commit bd57f0c

Please sign in to comment.