go tool compile -lang=go1.12 should probably be diagnosing (rejecting) use of the new Go 1.13 language features like signed shifts and the new number literals. That way people who have go 1.12 in their go.mod files can be more confident that the code does build with Go 1.12.
/cc @ianlancetaylor @griesemer
go tool compile -lang=go1.12should probably be diagnosing (rejecting) use of the new Go 1.13 language features like signed shifts and the new number literals. That way people who havego 1.12in their go.mod files can be more confident that the code does build with Go 1.12./cc @ianlancetaylor @griesemer