diff --git a/compiler/semgnrc.nim b/compiler/semgnrc.nim index 67b4b5a907e73..6fefc2233558c 100644 --- a/compiler/semgnrc.nim +++ b/compiler/semgnrc.nim @@ -226,14 +226,7 @@ proc semGenericStmt(c: PContext, n: PNode, var mixinContext = false if s != nil: incl(s.flags, sfUsed) - # more robust/future proof than: - # mixinContext = s.magic in {mDefined, mDefinedInScope, mCompiles, mAstToStr} - if s.magic != mNone and s.typ != nil: - for i in 1..