diff options
author | Andreas Rumpf <rumpf_a@web.de> | 2016-05-27 19:35:48 +0200 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2016-05-27 19:35:48 +0200 |
commit | 8f43e9d18c56ea77ab21a12e9f9ce9b7355a33ac (patch) | |
tree | 29699a8ad9aa0caa88c9595d40c23e047e54f21b /compiler | |
parent | 6d76df84546dd90d33a413c0bbd8df75f797767a (diff) | |
download | Nim-8f43e9d18c56ea77ab21a12e9f9ce9b7355a33ac.tar.gz |
fixes #4225
Diffstat (limited to 'compiler')
-rw-r--r-- | compiler/semstmts.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/semstmts.nim b/compiler/semstmts.nim index f20a0c36a..20de8e928 100644 --- a/compiler/semstmts.nim +++ b/compiler/semstmts.nim @@ -1250,7 +1250,7 @@ proc semProcAux(c: PContext, n: PNode, kind: TSymKind, c.p.wasForwarded = proto != nil maybeAddResult(c, s, n) - if sfImportc notin s.flags: + if lfDynamicLib notin s.loc.flags: # no semantic checking for importc: let semBody = hloBody(c, semProcBody(c, n.sons[bodyPos])) # unfortunately we cannot skip this step when in 'system.compiles' |