diff --git a/compiler/semgnrc.nim b/compiler/semgnrc.nim index 2de397e25d..ffc1a43b29 100644 --- a/compiler/semgnrc.nim +++ b/compiler/semgnrc.nim @@ -94,8 +94,6 @@ proc semGenericStmt(c: PContext, n: PNode, let luf = if withinMixin notin flags: {checkUndeclared} else: {} var s = qualifiedLookUp(c, n, luf) if s != nil: result = semGenericStmtSymbol(c, n, s) - else: - # XXX for example: ``result.add`` -- ``add`` needs to be looked up here... of nkEmpty, nkSym..nkNilLit: # see tests/compile/tgensymgeneric.nim: