From d244508b8aaad24877991891fe2cb3ee42057795 Mon Sep 17 00:00:00 2001 From: Araq Date: Sun, 17 Dec 2017 14:23:57 +0100 Subject: [PATCH] fixes #6932 --- compiler/semexprs.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/semexprs.nim b/compiler/semexprs.nim index 28a97068bf..ea51929e2a 100644 --- a/compiler/semexprs.nim +++ b/compiler/semexprs.nim @@ -2229,7 +2229,7 @@ proc semExpr(c: PContext, n: PNode, flags: TExprFlags = {}): PNode = # XXX think about this more (``set`` procs) if n.len == 2: result = semConv(c, n) - elif contains(c.ambiguousSymbols, s.id): + elif contains(c.ambiguousSymbols, s.id) and n.len == 1: errorUseQualifier(c, n.info, s) elif n.len == 1: result = semObjConstr(c, n, flags)