diff options
Diffstat (limited to 'rod/cgen.nim')
-rwxr-xr-x | rod/cgen.nim | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/rod/cgen.nim b/rod/cgen.nim index 15fa1b17e..989778a02 100755 --- a/rod/cgen.nim +++ b/rod/cgen.nim @@ -223,6 +223,8 @@ proc allocParam(p: BProc, s: PSym) = proc localDebugInfo(p: BProc, s: PSym) = var name, a: PRope if {optStackTrace, optEndb} * p.options != {optStackTrace, optEndb}: return + # XXX work around a bug: No type information for open arrays possible: + if skipTypes(s.typ, abstractVar).kind == tyOpenArray: return if gCmd == cmdCompileToLLVM: # "address" is the 0th field # "typ" is the 1rst field |