This commit is contained in:
Araq
2012-01-29 19:12:48 +01:00
parent 1ba3dbc759
commit 4b95233632
3 changed files with 4 additions and 4 deletions

View File

@@ -641,7 +641,7 @@ proc genProcPrototype(m: BModule, sym: PSym) =
useHeader(m, sym)
if lfNoDecl in sym.loc.Flags: return
if lfDynamicLib in sym.loc.Flags:
if sym.owner.id != m.module.id and
if getModule(sym).id != m.module.id and
not ContainsOrIncl(m.declaredThings, sym.id):
appf(m.s[cfsVars], "extern $1 $2;$n",
[getTypeDesc(m, sym.loc.t), mangleDynLibProc(sym)])

View File

@@ -1,5 +1,5 @@
discard """
output: 'done'
output: done
"""
for i in 0 .. 1:

View File

@@ -1,9 +1,10 @@
version 0.8.14
==============
- fix powerpc64 crashes
- bug: tsortdev does not run with native GC
- object {.pure, final.} does not work again!
- ``=`` should be overloadable; requires specialization for ``=``?
version 0.9.0
=============
@@ -22,7 +23,6 @@ version 0.9.0
- implement ``partial`` pragma for partial evaluation
- we need to support iteration of 2 different data structures in parallel
- make exceptions compatible with C++ exceptions
- ``=`` should be overloadable; requires specialization for ``=``
- 'const' objects including case objects
- os module should use Windows Unicode versions
- 64bit build for Windows