fixes a regression that made 'system.compiles' output the produced error messages

This commit is contained in:
Araq
2014-11-12 02:45:54 +01:00
parent b2f577df23
commit 29b1709fc4

View File

@@ -1565,7 +1565,7 @@ proc tryExpr(c: PContext, n: PNode, flags: TExprFlags = {}): PNode =
let oldOwnerLen = len(gOwners)
let oldGenerics = c.generics
let oldErrorOutputs = errorOutputs
#errorOutputs = if bufferErrors: {eInMemory} else: {}
errorOutputs = {}
let oldContextLen = msgs.getInfoContextLen()
let oldInGenericContext = c.inGenericContext