summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2012-01-29 19:12:48 +0100
committerAraq <rumpf_a@web.de>2012-01-29 19:12:48 +0100
commit4b952336325121be20557ecfb224a10dcaab49d0 (patch)
treee17bf3b0f1647107dae003818a2a2263748a1671
parent1ba3dbc7595a40bdb68973d0863c904657ca28f6 (diff)
downloadNim-4b952336325121be20557ecfb224a10dcaab49d0.tar.gz
fixes #98
-rwxr-xr-xcompiler/cgen.nim2
-rw-r--r--tests/run/tzeroarray.nim2
-rwxr-xr-xtodo.txt4
3 files changed, 4 insertions, 4 deletions
diff --git a/compiler/cgen.nim b/compiler/cgen.nim
index 5de2481ed..eb3e58a98 100755
--- a/compiler/cgen.nim
+++ b/compiler/cgen.nim
@@ -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)])
diff --git a/tests/run/tzeroarray.nim b/tests/run/tzeroarray.nim
index 7f66007b5..b784b601e 100644
--- a/tests/run/tzeroarray.nim
+++ b/tests/run/tzeroarray.nim
@@ -1,5 +1,5 @@
 discard """
-  output: 'done'
+  output: done
 """
 
 for i in 0 .. 1:
diff --git a/todo.txt b/todo.txt
index 22a4c6d97..ecee10610 100755
--- a/todo.txt
+++ b/todo.txt
@@ -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