Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
timotheecour committed Sep 8, 2019
1 parent 0439ebc commit be51e27
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions compiler/seminst.nim
Original file line number Diff line number Diff line change
Expand Up @@ -319,6 +319,7 @@ proc instantiateProcType(c: PContext, pt: TIdTable,
prc.typ = result
popInfoContext(c.config)

{.emit: "NIM_EXTERNC".} # for bootstrapping; remove after 0.21, refs #12144
proc generateInstanceEnableIf*(c: PContext, fn: PSym, pt: TIdTable, info: TLineInfo, nCond: PNode, tryCompiles: bool): PNode {.exportc.} =
let nCond = nCond.copyTree # needed, otherwise subsequent instantiations will
# use stale data
Expand Down

0 comments on commit be51e27

Please sign in to comment.