summary refs log tree commit diff stats
path: root/compiler/importer.nim
diff options
context:
space:
mode:
authorZahary Karadjov <zahary@gmail.com>2014-03-06 21:57:35 +0200
committerZahary Karadjov <zahary@gmail.com>2014-03-06 21:57:35 +0200
commit862c0ef83d7a85798df0474522dd4ba8cfcab674 (patch)
treee617065ce6bd6d72c278d7b22edbc5fcc5d86a58 /compiler/importer.nim
parent5324c9ebba1aa21c893db03c1d56d3ce1b42f162 (diff)
downloadNim-862c0ef83d7a85798df0474522dd4ba8cfcab674.tar.gz
split the inline and closure iterators into different symbol kinds for easier discrimination between them
Diffstat (limited to 'compiler/importer.nim')
-rw-r--r--compiler/importer.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/importer.nim b/compiler/importer.nim
index 078a90c98..7a73f2bbf 100644
--- a/compiler/importer.nim
+++ b/compiler/importer.nim
@@ -103,7 +103,7 @@ proc importSymbol(c: PContext, n: PNode, fromMod: PSym) =
       internalError(n.info, "importSymbol: 2")
     # for an enumeration we have to add all identifiers
     case s.kind
-    of skProc, skMethod, skIterator, skMacro, skTemplate, skConverter:
+    of skProcKinds:
       # for a overloadable syms add all overloaded routines
       var it: TIdentIter
       var e = initIdentIter(it, fromMod.tab, s.name)