From 0b81c5a3cba0fdd3d40b1caba26a0d7e6df7389c Mon Sep 17 00:00:00 2001 From: Alexander Medvednikov Date: Sun, 15 Sep 2019 19:43:35 +0300 Subject: [PATCH] bring back `assert` outside of tests --- compiler/main.v | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/compiler/main.v b/compiler/main.v index ee1b45da74..91c4500a78 100644 --- a/compiler/main.v +++ b/compiler/main.v @@ -264,9 +264,9 @@ fn (v mut V) compile() { // `/usr/bin/ld: multiple definition of 'total_m'` // TODO //cgen.genln('i64 total_m = 0; // For counting total RAM allocated') - if v.pref.is_test { + //if v.pref.is_test { cgen.genln('int g_test_ok = 1; ') - } + //} if 'json' in v.table.imports { cgen.genln(' #define js_get(object, key) cJSON_GetObjectItemCaseSensitive((object), (key))