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
In some nMigen code I had if m.If(...) as a typo of with m.If(...): - this gets silently dropped.
<whitequark> Stary: the problem is that you're doing `if m.If():`
<whitequark> it should be `with m.If():`
<whitequark> `m.If()` itself just returns `None`, so the whole conditional is just ignored
<whitequark> I consider this a usability bug; please report an issue so I can make sure no one ever gets confused by this again
The text was updated successfully, but these errors were encountered:
In some nMigen code I had
if m.If(...)
as a typo ofwith m.If(...):
- this gets silently dropped.The text was updated successfully, but these errors were encountered: