From 4213f7a6c90bbb593decced8a27b563fd9d36f6f Mon Sep 17 00:00:00 2001 From: flywind <43030857+xflywind@users.noreply.github.com> Date: Mon, 16 Nov 2020 22:19:26 +0800 Subject: rename: stmt -> typed and expr -> untyped (#15989) * stmt -> typed * expr -> untyped * minor --- compiler/sigmatch.nim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'compiler/sigmatch.nim') diff --git a/compiler/sigmatch.nim b/compiler/sigmatch.nim index 2e332f105..b674c3d9e 100644 --- a/compiler/sigmatch.nim +++ b/compiler/sigmatch.nim @@ -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) -- cgit 1.4.1-2-gfad0