WIP: as with generics.
This commit is contained in:
parent
814f527175
commit
656da1f6a9
5 changed files with 21 additions and 10 deletions
|
|
@ -434,3 +434,6 @@ proc pickSym*(c: PContext, n: PNode; kind: TSymKind;
|
|||
if a.kind == kind and flags <= a.flags:
|
||||
return a
|
||||
a = nextOverloadIter(o, c, n)
|
||||
|
||||
proc isExceptAs*(n: PNode): bool =
|
||||
return n.kind == nkInfix and considerQuotedIdent(n[0]).s == "as"
|
||||
Loading…
Add table
Add a link
Reference in a new issue