mirror of
https://github.com/myhdl/myhdl.git
synced 2025-01-24 21:52:56 +08:00
skip non-named function calls during infer
This commit is contained in:
parent
62a52a3087
commit
a12b3ec280
@ -254,7 +254,9 @@ class _YieldVisitor(object):
|
|||||||
|
|
||||||
def visitCallFunc(self, node, *args):
|
def visitCallFunc(self, node, *args):
|
||||||
fn = node.node
|
fn = node.node
|
||||||
assert isinstance(fn, astNode.Name)
|
if not isinstance(fn, astNode.Name):
|
||||||
|
node.kind = _kind.UNDEFINED
|
||||||
|
return
|
||||||
self.visit(fn)
|
self.visit(fn)
|
||||||
node.kind = fn.kind
|
node.kind = fn.kind
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user