further steps in implementing sink parameters; refs #7041
This commit is contained in:
parent
1d9343080d
commit
9de05ec3e0
10 changed files with 177 additions and 20 deletions
|
|
@ -76,7 +76,7 @@ proc semConstrField(c: PContext, flags: TExprFlags,
|
|||
return initValue
|
||||
|
||||
proc caseBranchMatchesExpr(branch, matched: PNode): bool =
|
||||
for i in 0 .. (branch.len - 2):
|
||||
for i in 0 .. branch.len-2:
|
||||
if exprStructuralEquivalent(branch[i], matched):
|
||||
return true
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue