]> Cypherpunks repositories - gostls13.git/commit
go/types: add tests for new Go 2 number literals
authorRobert Griesemer <gri@golang.org>
Wed, 30 Jan 2019 00:00:45 +0000 (16:00 -0800)
committerRobert Griesemer <gri@golang.org>
Mon, 11 Feb 2019 23:24:49 +0000 (23:24 +0000)
commit257f30433b66c0ec992fe36ccd5403580a7cbced
tree7ea27735accb466daa8331c686fa6561e9f6f119
parent1f701200d979d550e13f37e9be3da99b5a1304cb
go/types: add tests for new Go 2 number literals

This CL ensures that go/types can now handle the new
Go 2 number literals. The relevant changes enabling
them in go/types were made in go/constant in the CL
https://golang.org/cl/160239.

R=Go1.13

Updates #12711.
Updates #19308.
Updates #28493.
Updates #29008.

Change-Id: I45c1387198fac94769ac59c5301d86b4e1a1ff98
Reviewed-on: https://go-review.googlesource.com/c/160240
Reviewed-by: Russ Cox <rsc@golang.org>
src/go/types/check_test.go
src/go/types/stdlib_test.go
src/go/types/testdata/literals.src [new file with mode: 0644]