diff options
author | Zahary Karadjov <zahary@gmail.com> | 2014-03-06 21:57:35 +0200 |
---|---|---|
committer | Zahary Karadjov <zahary@gmail.com> | 2014-03-06 21:57:35 +0200 |
commit | 862c0ef83d7a85798df0474522dd4ba8cfcab674 (patch) | |
tree | e617065ce6bd6d72c278d7b22edbc5fcc5d86a58 /compiler/importer.nim | |
parent | 5324c9ebba1aa21c893db03c1d56d3ce1b42f162 (diff) | |
download | Nim-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.nim | 2 |
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) |