caas barely works now
This commit is contained in:
parent
b1c44c9ae1
commit
de338526ec
4 changed files with 18 additions and 8 deletions
|
|
@ -259,12 +259,12 @@ proc myProcess(context: PPassContext, n: PNode): PNode =
|
|||
let oldInGenericInst = c.InGenericInst
|
||||
try:
|
||||
result = SemStmtAndGenerateGenerics(c, n)
|
||||
except ERecoverableError:
|
||||
except ERecoverableError, ESuggestDone:
|
||||
RecoverContext(c)
|
||||
c.InGenericInst = oldInGenericInst
|
||||
result = ast.emptyNode
|
||||
msgs.setInfoContextLen(oldContextLen)
|
||||
if gCmd == cmdIdeTools: findSuggest(c, n)
|
||||
result = ast.emptyNode
|
||||
#if gCmd == cmdIdeTools: findSuggest(c, n)
|
||||
|
||||
proc checkThreads(c: PContext) =
|
||||
if not needsGlobalAnalysis(): return
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue