fixes #531
This commit is contained in:
parent
b1d4dfa6b1
commit
9acdf94cc0
14 changed files with 663 additions and 1 deletions
|
|
@ -312,7 +312,7 @@ proc semGenericStmt(c: PContext, n: PNode,
|
|||
n.sons[bodyPos] = semGenericStmtScope(c, body, flags, ctx)
|
||||
closeScope(c)
|
||||
of nkPragma, nkPragmaExpr: nil
|
||||
of nkExprColonExpr:
|
||||
of nkExprColonExpr, nkExprEqExpr:
|
||||
checkMinSonsLen(n, 2)
|
||||
result.sons[1] = semGenericStmt(c, n.sons[1], flags, ctx)
|
||||
else:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue