unsafe: automated conversion to unsafe.Add
#48913
Labels
NeedsDecision
Feedback is required from experts, contributors, and/or the community before a change can be made.
Milestone
With the new functions added to
unsafe
for 1.17, it'd be nice ifgo fix
or similar would be able to automatically rewrite older unsafe usage into the newer functions, such asunsafe.Add
. It seems like existing tools likeeg
andrf
lack the type system in order to handle the various integer types involved.CC @rsc @mvdan @cuonglm @mdempsky
The text was updated successfully, but these errors were encountered: