parent
ee9795f76f
commit
14ced06bb1
2 changed files with 5 additions and 4 deletions
|
|
@ -1905,7 +1905,7 @@ proc semProcAux(c: PContext, n: PNode, kind: TSymKind,
|
|||
|
||||
if tfTriggersCompileTime in s.typ.flags: incl(s.flags, sfCompileTime)
|
||||
if n[patternPos].kind != nkEmpty:
|
||||
n[patternPos] = semPattern(c, n[patternPos])
|
||||
n[patternPos] = semPattern(c, n[patternPos], s)
|
||||
if s.kind == skIterator:
|
||||
s.typ.flags.incl(tfIterator)
|
||||
elif s.kind == skFunc:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue