fixes wrong commit

This commit is contained in:
Araq
2014-03-22 23:02:01 +01:00
parent b76d2eac7f
commit a4f30c3682

View File

@@ -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: