diff options
Diffstat (limited to 'compiler/semstmts.nim')
-rwxr-xr-x | compiler/semstmts.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/semstmts.nim b/compiler/semstmts.nim index 53b8951e8..fd3ac7891 100755 --- a/compiler/semstmts.nim +++ b/compiler/semstmts.nim @@ -767,7 +767,7 @@ proc semProcAux(c: PContext, n: PNode, kind: TSymKind, pushProcCon(c, s) if s.typ.sons[0] != nil and kind != skIterator: addResult(c, s.typ.sons[0], n.info, kind) - if sfImportc notin s.flags: + if sfImportc notin s.flags: # no semantic checking for importc: n.sons[bodyPos] = semStmtScope(c, n.sons[bodyPos]) if s.typ.sons[0] != nil and kind != skIterator: addResultNode(c, n) |