You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When _Wires were added to ROHD Logics (#199), an exception was mistakenly removed which clearly explained why signals could not be connected when signals are different widths:
' Cannot connect $this to $other which have different widths.');
}
We should add it back. Probably we should add a test to make sure it doesn't get removed, and also make it a unique type of exception instead of Exception. Perhaps some rewording is needed as well.
Describe the bug
When
_Wire
s were added to ROHDLogic
s (#199), an exception was mistakenly removed which clearly explained why signals could not be connected when signals are different widths:rohd/lib/src/logic.dart
Lines 261 to 264 in bae662c
We should add it back. Probably we should add a test to make sure it doesn't get removed, and also make it a unique type of exception instead of
Exception
. Perhaps some rewording is needed as well.To Reproduce
Example from: #308 (reply in thread)
Expected behavior
An error something like this:
Actual behavior
Additional: Dart SDK info
No response
Additional: pubspec.yaml
No response
Additional: Context
Present in v0.4.2
The text was updated successfully, but these errors were encountered: