fixes #3329
This commit is contained in:
parent
432884861e
commit
36f68e1650
7 changed files with 65 additions and 17 deletions
|
|
@ -234,7 +234,7 @@ proc semGenericStmt(c: PContext, n: PNode,
|
|||
discard
|
||||
of skProc, skMethod, skIterators, skConverter, skModule:
|
||||
result.sons[0] = symChoice(c, fn, s, scOption)
|
||||
# do check of 's.magic==mRoof' here because it might be some
|
||||
# do not check of 's.magic==mRoof' here because it might be some
|
||||
# other '^' but after overload resolution the proper one:
|
||||
if ctx.bracketExpr != nil and n.len == 2 and s.name.s == "^":
|
||||
result.add ctx.bracketExpr
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue