sighashes: make more tests green
This commit is contained in:
parent
2e5663c6d2
commit
1c20046f28
2 changed files with 4 additions and 7 deletions
|
|
@ -48,7 +48,7 @@ proc genVarTuple(p: BProc, n: PNode) =
|
||||||
return
|
return
|
||||||
genLineDir(p, n)
|
genLineDir(p, n)
|
||||||
initLocExpr(p, n.sons[L-1], tup)
|
initLocExpr(p, n.sons[L-1], tup)
|
||||||
var t = tup.t.getUniqueType
|
var t = tup.t.skipTypes(abstractInst)
|
||||||
for i in countup(0, L-3):
|
for i in countup(0, L-3):
|
||||||
var v = n.sons[i].sym
|
var v = n.sons[i].sym
|
||||||
if sfCompileTime in v.flags: continue
|
if sfCompileTime in v.flags: continue
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@ discard """
|
||||||
|
|
||||||
type
|
type
|
||||||
PA = ref TA
|
PA = ref TA
|
||||||
TA = array [0..2, PA]
|
TA = array[0..2, PA]
|
||||||
|
|
||||||
PRec = ref TRec
|
PRec = ref TRec
|
||||||
TRec {.final.} = object
|
TRec {.final.} = object
|
||||||
|
|
@ -14,13 +14,10 @@ type
|
||||||
|
|
||||||
P1 = ref T1
|
P1 = ref T1
|
||||||
PB = ref TB
|
PB = ref TB
|
||||||
TB = array [0..3, P1]
|
TB = array[0..3, P1]
|
||||||
T1 = array [0..6, PB]
|
T1 = array[0..6, PB]
|
||||||
|
|
||||||
var
|
var
|
||||||
x: PA
|
x: PA
|
||||||
new(x)
|
new(x)
|
||||||
#ERROR_MSG internal error: cannot generate C type for: PA
|
#ERROR_MSG internal error: cannot generate C type for: PA
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue