diff options
author | Zahary Karadjov <zahary@gmail.com> | 2017-04-16 13:42:33 +0300 |
---|---|---|
committer | Zahary Karadjov <zahary@gmail.com> | 2017-04-16 13:42:33 +0300 |
commit | 4da8536701516f88cf2a04152abb8d8a276042d6 (patch) | |
tree | 589043f63bdaac5cc64a4cc2511de052c89e00b4 /compiler/astalgo.nim | |
parent | dfbafff2e7cbadd28cade976520f86848a00a7c9 (diff) | |
download | Nim-4da8536701516f88cf2a04152abb8d8a276042d6.tar.gz |
fix compilation regression in alea
Diffstat (limited to 'compiler/astalgo.nim')
-rw-r--r-- | compiler/astalgo.nim | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler/astalgo.nim b/compiler/astalgo.nim index f8435f359..1fc8b7cea 100644 --- a/compiler/astalgo.nim +++ b/compiler/astalgo.nim @@ -81,6 +81,8 @@ template mdbg*: bool {.dirty.} = p.lex.fileIdx == gProjectMainIdx else: p.module.module.fileIdx == gProjectMainIdx + elif compiles(m.module.fileIdx): + m.module.fileIdx == gProjectMainIdx elif compiles(L.fileIdx): L.fileIdx == gProjectMainIdx else: |