Skip to content

Commit

Permalink
normalizedast: hide newTree from std/macros (#333)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
alaviss authored Aug 31, 2024
1 parent a04b82f commit eedef3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cps/normalizedast.nim
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit eedef3f

Please sign in to comment.