diff options
author | Jasper Jenkins <jasper.vs.jenkins@gmail.com> | 2020-01-17 01:34:32 -0800 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2020-01-17 10:34:31 +0100 |
commit | 796aafe7e0856375494a352f738ac14f8de9fd4d (patch) | |
tree | 9d2036631f60bd27d7d01296a7b0494e9a7a792e /compiler/semgnrc.nim | |
parent | 2bf337abaefe862bc7e05cc0c907a3095b1f429c (diff) | |
download | Nim-796aafe7e0856375494a352f738ac14f8de9fd4d.tar.gz |
make case-object transitions explicit, make unknownLineInfo a const, replace a few magic numbers with consts (#13170)
Diffstat (limited to 'compiler/semgnrc.nim')
-rw-r--r-- | compiler/semgnrc.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/semgnrc.nim b/compiler/semgnrc.nim index 59be8d597..a494db475 100644 --- a/compiler/semgnrc.nim +++ b/compiler/semgnrc.nim @@ -163,7 +163,7 @@ proc fuzzyLookup(c: PContext, n: PNode, flags: TSemGenericFlags, let syms = semGenericStmtSymbol(c, n, s, ctx, flags, fromDotExpr=true) if syms.kind == nkSym: let choice = symChoice(c, n, s, scForceOpen) - choice.kind = nkClosedSymChoice + choice.transitionSonsKind(nkClosedSymChoice) result = newDot(result, choice) else: result = newDot(result, syms) |