summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2014-11-12 02:45:54 +0100
committerAraq <rumpf_a@web.de>2014-11-12 02:45:54 +0100
commit29b1709fc45aec2a6224a03dc0d1363a21958a42 (patch)
tree8d9827a8e941ddead5a7989e280baf1a5e8de8a0
parentb2f577df23d5daae873df18ff345965f8dc7e47b (diff)
downloadNim-29b1709fc45aec2a6224a03dc0d1363a21958a42.tar.gz
fixes a regression that made 'system.compiles' output the produced error messages
-rw-r--r--compiler/semexprs.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/semexprs.nim b/compiler/semexprs.nim
index 1ceec7fbe..bf2344f11 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