diff options
author | Andreas Rumpf <rumpf_a@web.de> | 2021-03-09 20:19:24 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-09 20:19:24 +0100 |
commit | 2f213db7eed7fb715b803559b38af4148cff02e1 (patch) | |
tree | 916192dfea950705bad38e0442faf593cd5d5227 /compiler/reorder.nim | |
parent | 083eeda08503d0bf6b96efaab587b8ba2dce20a6 (diff) | |
download | Nim-2f213db7eed7fb715b803559b38af4148cff02e1.tar.gz |
fixes #11225; generic sandwich problems; [backport:1.2] (#17255)
* fixes #11225; generic sandwich problems; [backport:1.2] * progress * delegating these symbols must be done via 'bind'
Diffstat (limited to 'compiler/reorder.nim')
-rw-r--r-- | compiler/reorder.nim | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/reorder.nim b/compiler/reorder.nim index 3eb47941e..d2b89f392 100644 --- a/compiler/reorder.nim +++ b/compiler/reorder.nim @@ -105,6 +105,7 @@ proc computeDeps(cache: IdentCache; n: PNode, declares, uses: var IntSet; topLev decl(a[1]) else: for i in 0..<n.safeLen: deps(n[i]) + of nkMixinStmt, nkBindStmt: discard else: for i in 0..<n.safeLen: deps(n[i]) |