From 68ba45cc04bedb5f39f7bff659065e137e86053d Mon Sep 17 00:00:00 2001 From: SirOlaf <34164198+SirOlaf@users.noreply.github.com> Date: Wed, 11 Oct 2023 21:05:51 +0200 Subject: [PATCH] Import std/stackframes in ast2ir.nim (#22815) Ref https://github.com/nim-lang/Nim/pull/22777#issuecomment-1758090410 Co-authored-by: SirOlaf <> --- compiler/nir/ast2ir.nim | 3 +++ 1 file changed, 3 insertions(+) diff --git a/compiler/nir/ast2ir.nim b/compiler/nir/ast2ir.nim index f06bb3ae81..bc7348be37 100644 --- a/compiler/nir/ast2ir.nim +++ b/compiler/nir/ast2ir.nim @@ -17,6 +17,9 @@ import .. / ic / bitabs import nirtypes, nirinsts, nirlineinfos, nirslots, types2ir +when defined(nimCompilerStacktraceHints): + import std/stackframes + type ModuleCon* = ref object strings*: BiTable[string]