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
{{ message }}
Repository navigation
Create zero initialization methods for messages #367
In porting efforts we've run into several bugs where the zero initialized behavior is relied upon, causing bugs. Having a zero initialization method as a way to make porting less fragile would be valuable. And likely can be used in other cases when the optimization of using uninitialized constructors are not as important.
This should be eligible for the "hitlist". If not implementing these method, at least warn users and reflect on the design documents that the messages are not zero-initialized by default. (e.g. this suggests that default constructors do initialize the fields )
Activity
mikaelarguedas commentedon Aug 8, 2017
This should be eligible for the "hitlist". If not implementing these method, at least warn users and reflect on the design documents that the messages are not zero-initialized by default. (e.g. this suggests that default constructors do initialize the fields )
@Karsten1987 FYI
dirk-thomas commentedon Aug 10, 2017
@clalancette will look into this and come up with a design doc / proposal.
clalancette commentedon Sep 6, 2017
Closing this in favor of #393