1
0
mirror of https://github.com/myhdl/myhdl.git synced 2025-01-24 21:52:56 +08:00

temporary fix to prevent failing method conversion test.

--HG--
branch : mep107
This commit is contained in:
Keerthan Jaic 2013-07-12 09:37:55 -04:00
parent fd6fa4912c
commit 154aa8103f

View File

@ -318,8 +318,9 @@ class _HierExtr(object):
cellvars = []
cellvars.extend(frame.f_code.co_cellvars)
local_gens = []
#All nested functions will be in co_consts
if func:
local_gens = []
consts = func.func_code.co_consts
for item in _flatten(arg):
genfunc = _genfunc(item)