diff options
author | flywind <43030857+xflywind@users.noreply.github.com> | 2020-11-16 22:19:26 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-16 14:19:26 +0000 |
commit | 4213f7a6c90bbb593decced8a27b563fd9d36f6f (patch) | |
tree | 553002d1f1940899cda978d62bee8eb8a87b76ec /compiler/sigmatch.nim | |
parent | a4d02f591c685b261a41a7b9b51aaba05c542499 (diff) | |
download | Nim-4213f7a6c90bbb593decced8a27b563fd9d36f6f.tar.gz |
rename: stmt -> typed and expr -> untyped (#15989)
* stmt -> typed * expr -> untyped * minor
Diffstat (limited to 'compiler/sigmatch.nim')
-rw-r--r-- | compiler/sigmatch.nim | 4 |
1 files changed, 2 insertions, 2 deletions
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) |