'pretty' command does not exist anymore; improvements for nimfix
This commit is contained in:
parent
490371977e
commit
569fbe8c37
12 changed files with 69 additions and 94 deletions
|
|
@ -1897,6 +1897,7 @@ proc semBlock(c: PContext, n: PNode): PNode =
|
|||
addDecl(c, labl)
|
||||
n.sons[0] = newSymNode(labl, n.sons[0].info)
|
||||
suggestSym(n.sons[0].info, labl)
|
||||
styleCheckDef(labl)
|
||||
n.sons[1] = semExpr(c, n.sons[1])
|
||||
n.typ = n.sons[1].typ
|
||||
if isEmptyType(n.typ): n.kind = nkBlockStmt
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue