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
314: final def toBools: Seq[Bool] = macro SourceInfoTransform.noArg
317: final def toBools(dummy: Int*): Seq[Bool] = macro SourceInfoWhiteboxTransform.noArgDummy
121635e didn't deprecate toBools, but deprecated do_toBools, so I just removed do_toBools, but didn't remove toBools.
If user from 3.4 used toBools, they will receive a runtime deprecation warning, rather than a normal deprecation warning, (and this may break binary compatibility? @jackkoenig)
So currently, in the master code, toBools will introduce which will throw do_toBools not implemented, so I propose remove toBools directly in Chisel 3.5, since runtime deprecation warning has already warned users.
See discussion in #2124 (comment)
Type of issue:feature request | documentation | other enhancement
Impact: API modification
Development Phase: proposal
Other information
If the current behavior is a bug, please provide the steps to reproduce the problem:
What is the current behavior?
There still exists a
.toBools
function, undeprecated, in Bits.scalaWhat is the expected behavior?
All the
.toBools
were deprecated and turned intoasBools
. This one seems to have been forgotten? Or was that intentional?Please tell us about your environment:
What is the use case for changing the behavior?
consistent function names leading to less cognitive load on users
The text was updated successfully, but these errors were encountered: