From 25c75752d07fccc00682890875f3ce6c13f61d90 Mon Sep 17 00:00:00 2001 From: Miran Date: Mon, 1 Feb 2021 06:50:23 +0100 Subject: [PATCH] remove quotation marks around imports - fixes links in the docs (#16888) --- lib/pure/asyncfutures.nim | 2 +- lib/pure/pathnorm.nim | 2 +- lib/system.nim | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/pure/asyncfutures.nim b/lib/pure/asyncfutures.nim index 2333c5ef1..1a3b901df 100644 --- a/lib/pure/asyncfutures.nim +++ b/lib/pure/asyncfutures.nim @@ -9,7 +9,7 @@ import os, tables, strutils, times, heapqueue, options, deques, cstrutils -import "system/stacktraces" +import system/stacktraces # TODO: This shouldn't need to be included, but should ideally be exported. type diff --git a/lib/pure/pathnorm.nim b/lib/pure/pathnorm.nim index 7834f8d95..a7da821d6 100644 --- a/lib/pure/pathnorm.nim +++ b/lib/pure/pathnorm.nim @@ -14,7 +14,7 @@ # Yes, this uses import here, not include so that # we don't end up exporting these symbols from pathnorm and os: -import "includes/osseps" +import includes/osseps type PathIter* = object diff --git a/lib/system.nim b/lib/system.nim index a2e6675d9..12fcb3cf2 100644 --- a/lib/system.nim +++ b/lib/system.nim @@ -1738,8 +1738,8 @@ proc compiles*(x: untyped): bool {.magic: "Compiles", noSideEffect, compileTime. discard when notJSnotNims: - import "system/ansi_c" - import "system/memory" + import system/ansi_c + import system/memory {.push stackTrace: off.}