diff options
author | Zahary Karadjov <zahary@gmail.com> | 2014-03-15 12:04:57 +0200 |
---|---|---|
committer | Zahary Karadjov <zahary@gmail.com> | 2014-03-16 20:42:06 +0200 |
commit | 4d2c948281ee1ad38f8098d1b454dc4787441e8b (patch) | |
tree | c711a45bfda4c95d3ed292bd4b4d95b13a707b21 /compiler | |
parent | cf8fe16a48d79d149f6ce85e229d23c1513c2497 (diff) | |
download | Nim-4d2c948281ee1ad38f8098d1b454dc4787441e8b.tar.gz |
fix #1001
Diffstat (limited to 'compiler')
-rw-r--r-- | compiler/lambdalifting.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/lambdalifting.nim b/compiler/lambdalifting.nim index 67cd364dc..4bc8eff86 100644 --- a/compiler/lambdalifting.nim +++ b/compiler/lambdalifting.nim @@ -518,7 +518,7 @@ proc searchForInnerProcs(o: POuterContext, n: PNode) = else: internalError(it.info, "transformOuter") of nkProcDef, nkMethodDef, nkConverterDef, nkMacroDef, nkTemplateDef, - nkClosure: + nkClosure, nkTypeSection: # don't recurse here: # XXX recurse here and setup 'up' pointers discard |