This commit is contained in:
Andreas Rumpf 2017-11-02 15:39:44 +01:00
commit 30b098fcaf
6 changed files with 10 additions and 8 deletions

View file

@ -210,7 +210,7 @@ proc semGenericStmt(c: PContext, n: PNode,
considerQuotedIdent(fn).id notin ctx.toMixin:
errorUndeclaredIdentifier(c, n.info, fn.renderTree)
var first = ord(withinConcept in flags)
var first = int ord(withinConcept in flags)
var mixinContext = false
if s != nil:
incl(s.flags, sfUsed)