add a more descriptive error message

This commit is contained in:
Jan Petykiewicz 2024-06-03 16:54:15 -07:00
parent 4334d0d50b
commit 5fb736eb74

View File

@ -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,