further steps in implementing sink parameters; refs #7041

This commit is contained in:
Araq 2018-03-30 02:32:13 +02:00
commit 9de05ec3e0
10 changed files with 177 additions and 20 deletions

View file

@ -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