add a more descriptive error message
This commit is contained in:
parent
4334d0d50b
commit
5fb736eb74
@ -1165,7 +1165,7 @@ class Pattern(PortList, AnnotatableImpl, Mirrorable):
|
|||||||
map_out[vi] = None
|
map_out[vi] = None
|
||||||
|
|
||||||
if isinstance(other, Pattern):
|
if isinstance(other, Pattern):
|
||||||
assert append
|
assert append, 'Got a name (not an abstract) but was asked to reference (not append)'
|
||||||
|
|
||||||
self.place(
|
self.place(
|
||||||
other,
|
other,
|
||||||
|
Loading…
Reference in New Issue
Block a user