rename: stmt -> typed and expr -> untyped (#15989)
* stmt -> typed * expr -> untyped * minor
This commit is contained in:
parent
a4d02f591c
commit
4213f7a6c9
3 changed files with 4 additions and 4 deletions
|
|
@ -1240,8 +1240,8 @@ proc typeRel(c: var TCandidate, f, aOrig: PType,
|
|||
if result < isGeneric: result = isNone
|
||||
else: discard
|
||||
of tyOpenArray, tyVarargs:
|
||||
# varargs[expr] is special too but handled earlier. So we only need to
|
||||
# handle varargs[stmt] which is the same as varargs[typed]:
|
||||
# varargs[untyped] is special too but handled earlier. So we only need to
|
||||
# handle varargs[typed]:
|
||||
if f.kind == tyVarargs:
|
||||
if tfVarargs in a.flags:
|
||||
return typeRel(c, f.base, a.lastSon, flags)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue