diff --git a/doc/go1.13.html b/doc/go1.13.html index 0e3f9f915c..83536f1a5c 100644 --- a/doc/go1.13.html +++ b/doc/go1.13.html @@ -41,13 +41,69 @@ TODO

Changes to the language

-TODO + Per the number literal proposal, + Go 1.13 supports a more uniform and modernized set of number literal prefixes. +

-

- TODO: https://golang.org/cl/158797: implement shifts by signed amounts +

+ Per the signed shift counts proposal + Go 1.13 removes the restriction that a shift count + must be unsigned. This change eliminates the need for many artificial uint conversions, + solely introduced to satisfy this (now removed) restriction of the << and >> operators.

+

+ These language changes were implemented by changes to the compiler, and corresponding internal changes to the library + packages go/scanner and + text/scanner (number literals), + and go/types (signed shift counts). +

+ +

+ If your code uses modules and your go.mod files specifies a language version, be sure + it is set to at least 1.13 to get access to these language changes. + You can do this by editing the go.mod file directly, or you can run + go mod edit -go=1.13. +

+ +

Ports