summary refs log tree commit diff stats
path: root/compiler/transf.nim
diff options
context:
space:
mode:
authorLemonBoy <LemonBoy@users.noreply.github.com>2018-10-09 19:24:03 +0200
committerAndreas Rumpf <rumpf_a@web.de>2018-10-09 19:24:02 +0200
commitb97a7dbf3d1874b7dbf6b541ac57b27f8fbcd367 (patch)
treee702392e32574d09ed7f667985dcf8c42087e3c9 /compiler/transf.nim
parent85187d4ba379b4c08f77feb032632aa47837016f (diff)
downloadNim-b97a7dbf3d1874b7dbf6b541ac57b27f8fbcd367.tar.gz
Make the registered passes local to the ModuleGraph (#9259)
Closes #9068
Diffstat (limited to 'compiler/transf.nim')
-rw-r--r--compiler/transf.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/transf.nim b/compiler/transf.nim
index 83e66a069..e85b14431 100644
--- a/compiler/transf.nim
+++ b/compiler/transf.nim
@@ -38,7 +38,7 @@ type
                               # if we encounter the 2nd yield statement
     next: PTransCon           # for stacking
 
-  TTransfContext = object of passes.TPassContext
+  TTransfContext = object of TPassContext
     module: PSym
     transCon: PTransCon      # top of a TransCon stack
     inlining: int            # > 0 if we are in inlining context (copy vars)