From feef109e60fd33ff350cbcf82298a7cae83bbd72 Mon Sep 17 00:00:00 2001 From: Andreas Rumpf Date: Fri, 18 May 2018 20:53:41 +0200 Subject: make tests green again --- compiler/rodread.nim | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'compiler/rodread.nim') diff --git a/compiler/rodread.nim b/compiler/rodread.nim index 3eeee1127..9c834a410 100644 --- a/compiler/rodread.nim +++ b/compiler/rodread.nim @@ -792,7 +792,8 @@ proc findSomeWhere(id: int) = if rd != nil: var d = iiTableGet(rd.index.tab, id) if d != InvalidKey: - echo "found id ", id, " in ", gMods[i].filename + when declared(echo): + echo "found id ", id, " in ", gMods[i].filename proc getReader(moduleId: int): PRodReader = # we can't index 'gMods' here as it's indexed by a *file index* which is not -- cgit 1.4.1-2-gfad0