removed flawed thread analysis pass
This commit is contained in:
parent
39e4e3f205
commit
be6474af63
17 changed files with 23 additions and 476 deletions
|
|
@ -127,9 +127,6 @@ proc sideEffectsCheck(c: PContext, s: PSym) =
|
|||
if {sfNoSideEffect, sfSideEffect} * s.flags ==
|
||||
{sfNoSideEffect, sfSideEffect}:
|
||||
localError(s.info, errXhasSideEffects, s.name.s)
|
||||
elif sfThread in s.flags and semthreads.needsGlobalAnalysis() and
|
||||
s.ast.sons[genericParamsPos].kind == nkEmpty:
|
||||
c.threadEntries.add(s)
|
||||
|
||||
proc instGenericContainer(c: PContext, info: TLineInfo, header: PType,
|
||||
allowMetaTypes = false): PType =
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue