parent
c0824b9b80
commit
81087c949f
25 changed files with 116 additions and 70 deletions
|
|
@ -1242,7 +1242,7 @@ proc check(n: PNode, ctx: NilCheckerContext, map: NilMap): Check =
|
|||
result = check(n.sons[0], ctx, map)
|
||||
of nkIfStmt, nkIfExpr:
|
||||
result = checkIf(n, ctx, map)
|
||||
of nkAsgn:
|
||||
of nkAsgn, nkFastAsgn, nkSinkAsgn:
|
||||
result = checkAsgn(n[0], n[1], ctx, map)
|
||||
of nkVarSection:
|
||||
result.map = map
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue