From d5da450100f35008df06ecf812f1eeabda05d285 Mon Sep 17 00:00:00 2001 From: Araq Date: Thu, 7 Feb 2019 12:12:20 +0100 Subject: [PATCH] helpers2 now has a real name --- compiler/cgen.nim | 2 +- compiler/semfold.nim | 2 +- lib/system/chcks.nim | 2 +- lib/system/{helpers2.nim => indexerrors.nim} | 0 4 files changed, 3 insertions(+), 3 deletions(-) rename lib/system/{helpers2.nim => indexerrors.nim} (100%) diff --git a/compiler/cgen.nim b/compiler/cgen.nim index d020b1bd7d..4abefe4636 100644 --- a/compiler/cgen.nim +++ b/compiler/cgen.nim @@ -16,7 +16,7 @@ import condsyms, rodutils, renderer, idgen, cgendata, ccgmerge, semfold, aliases, lowerings, tables, sets, ndi, lineinfos, pathutils, transf -import system/helpers2 +import system/indexerrors when not defined(leanCompiler): import semparallel diff --git a/compiler/semfold.nim b/compiler/semfold.nim index 2a29421916..237a5127a9 100644 --- a/compiler/semfold.nim +++ b/compiler/semfold.nim @@ -15,7 +15,7 @@ import nversion, platform, math, msgs, os, condsyms, idents, renderer, types, commands, magicsys, modulegraphs, strtabs, lineinfos -import system/helpers2 +import system/indexerrors proc newIntNodeT*(intVal: BiggestInt, n: PNode; g: ModuleGraph): PNode = case skipTypes(n.typ, abstractVarRange).kind diff --git a/lib/system/chcks.nim b/lib/system/chcks.nim index 6f4e8ce377..0840d863aa 100644 --- a/lib/system/chcks.nim +++ b/lib/system/chcks.nim @@ -8,7 +8,7 @@ # # Implementation of some runtime checks. -import system/helpers2 +import system/indexerrors proc raiseRangeError(val: BiggestInt) {.compilerproc, noinline.} = when hostOS == "standalone": diff --git a/lib/system/helpers2.nim b/lib/system/indexerrors.nim similarity index 100% rename from lib/system/helpers2.nim rename to lib/system/indexerrors.nim