commit | 7e5c64778d86105b4d87640964958d32fddb9ce5 | [log] [tgz] |
---|---|---|
author | Damien Neil <dneil@google.com> | Thu Nov 29 08:57:07 2018 -0800 |
committer | Damien Neil <dneil@google.com> | Thu Nov 29 23:43:35 2018 +0000 |
tree | 364d1fc5cdbc75c704177890d9454cec58af5542 | |
parent | cddf8195e186fcffc78c5dd88a72b015fce680bd [diff] |
cmd/protoc-gen-go: fix forwarding decls for inf and NaN defaults Floating-point defaults of -inf, +inf, and NaN must be generated as vars rather than consts. Fix the forwarding declaration for public imports of these vars. (Was "const", is now "var".) Change-Id: Ic6dc90ab7f88378ba477bff39e047de5f5193c35 Reviewed-on: https://go-review.googlesource.com/c/151757 Reviewed-by: Joe Tsai <thebrokentoaster@gmail.com>
WARNING: This repository is in active development. There are no guarantees about API stability. Breaking changes will occur until a stable release is made and announced.
This repository is for the development of the next major Go implementation of protocol buffers. This library makes breaking API changes relative to the existing Go protobuf library. Of particular note, this API aims to make protobuf reflection a first-class feature of the API and implements the protobuf ecosystem in terms of reflection.
List of relevant design documents:
We appreciate community contributions. See CONTRIBUTING.md.
Issues regarding the new API can be filed at github.com/golang/protobuf. Please use a APIv2:
prefix in the title to make it clear that the issue is regarding the new API work.