This commit is contained in:
BigEpsilon 2017-08-30 14:44:11 +02:00 • committed by Andreas Rumpf
commit 6f6e6fe4eb
2 changed files with 14 additions and 1 deletions

View file

@ -1327,7 +1327,7 @@ proc gsub(g: var TSrcGen, n: PNode, c: TContext) =
if n.hasExplicitParams:
put(g, tkBracketLe, "[")
gcomma(g, n)
gsemicolon(g, n)
put(g, tkBracketRi, "]")
of nkFormalParams:
put(g, tkParLe, "(")