Serializer
computes count
width 0 when only 1 element in deserialized
#166
Labels
Serializer
computes count
width 0 when only 1 element in deserialized
#166
Describe the bug
If a single element is passed into a
Serializer
(i.e.deserialized
is a 1D array with 1 element), then the width ofcount
is determined to be 0, which then breaks the assignment to the output of theCounter
since it always has at least 1 bit.To Reproduce
Create a
Serializer
with a 1D array with 1 element in it passed in.Expected behavior
The
Serializer
should always have 1-bit output oncount
probably, or at least it should build properly and drive outputs in a way that makes sense.Actual behavior
Additional: Dart SDK info
No response
Additional: pubspec.yaml
Additional: Context
No response
The text was updated successfully, but these errors were encountered: