Skip to content

Commit

Permalink
Update migrate.sh with official proposal number
Browse files Browse the repository at this point in the history
  • Loading branch information
dsnet committed Feb 11, 2025
1 parent 7564cc5 commit b90c6f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion migrate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ LINE=$(sed -n '/Test-only packages can have anything they want/=' $GOROOT/src/go
sed -i "$((LINE+1)) i\\\tFMT, compress/gzip, embed, encoding/binary < encoding/json/internal/jsontest;" $GOROOT/src/go/build/deps_test.go

# Adjust for newly added API.
ISSUE=63397 # TODO: Replace with formal proposal issue for encoding/json/v2
ISSUE=71497
FILE=$(cd $GOROOT/api; ls -v | tail -n 1)
echo "pkg encoding/json, func CallMethodsWithLegacySemantics(bool) jsonopts.Options #$ISSUE" >> $GOROOT/api/$FILE
echo "pkg encoding/json, func DefaultOptionsV1() jsonopts.Options #$ISSUE" >> $GOROOT/api/$FILE
Expand Down

0 comments on commit b90c6f0

Please sign in to comment.