From eedef3f758a23e97beb60f5408b7c81a289820b9 Mon Sep 17 00:00:00 2001 From: alaviss Date: Sat, 31 Aug 2024 10:40:07 -0500 Subject: [PATCH] normalizedast: hide newTree from std/macros (#333) Whatever Nim merged recently caused macros.newTree to have higher precedence against newTree defined on NormNode within normalizedast. As a workaround, don't import macros.newTree. --- cps/normalizedast.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cps/normalizedast.nim b/cps/normalizedast.nim index 28844e8a..c939759e 100644 --- a/cps/normalizedast.nim +++ b/cps/normalizedast.nim @@ -1,4 +1,4 @@ -import std/macros +import std/macros except newTree import std/strformat from std/hashes import Hash, hash from std/sequtils import anyIt, toSeq