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:
parent
fd6fa4912c
commit
154aa8103f
@ -318,8 +318,9 @@ class _HierExtr(object):
|
|||||||
cellvars = []
|
cellvars = []
|
||||||
cellvars.extend(frame.f_code.co_cellvars)
|
cellvars.extend(frame.f_code.co_cellvars)
|
||||||
|
|
||||||
local_gens = []
|
|
||||||
#All nested functions will be in co_consts
|
#All nested functions will be in co_consts
|
||||||
|
if func:
|
||||||
|
local_gens = []
|
||||||
consts = func.func_code.co_consts
|
consts = func.func_code.co_consts
|
||||||
for item in _flatten(arg):
|
for item in _flatten(arg):
|
||||||
genfunc = _genfunc(item)
|
genfunc = _genfunc(item)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user