From 29b1709fc45aec2a6224a03dc0d1363a21958a42 Mon Sep 17 00:00:00 2001 From: Araq Date: Wed, 12 Nov 2014 02:45:54 +0100 Subject: [PATCH] fixes a regression that made 'system.compiles' output the produced error messages --- compiler/semexprs.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/semexprs.nim b/compiler/semexprs.nim index 1ceec7fbed..bf2344f119 100644 --- a/compiler/semexprs.nim +++ b/compiler/semexprs.nim @@ -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