add a more descriptive error message
This commit is contained in:
parent
4334d0d50b
commit
5fb736eb74
1 changed files with 1 additions and 1 deletions
|
|
@ -1165,7 +1165,7 @@ class Pattern(PortList, AnnotatableImpl, Mirrorable):
|
|||
map_out[vi] = None
|
||||
|
||||
if isinstance(other, Pattern):
|
||||
assert append
|
||||
assert append, 'Got a name (not an abstract) but was asked to reference (not append)'
|
||||
|
||||
self.place(
|
||||
other,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue