]> Cypherpunks.ru repositories - gostls13.git/commit
[dev.regabi] cmd/compile: remove fmt_test code; it has outlived its usefulness
authorRobert Griesemer <gri@golang.org>
Fri, 8 Jan 2021 22:04:50 +0000 (14:04 -0800)
committerRobert Griesemer <gri@golang.org>
Fri, 8 Jan 2021 22:40:47 +0000 (22:40 +0000)
commit6ee9b118a2a70371e038fb6bec4fe7989a3a2b2d
tree439f84a5a1e7e2e172b1a12d1f51807201146557
parentb241938e04ed7171897390fdaefd3d3017a16a0b
[dev.regabi] cmd/compile: remove fmt_test code; it has outlived its usefulness

With the recent compiler rewrites and cleanups to gc/fmt.go, the
"safety net" provided by fmt_test has become less important and
the test itself has become a burden (often breaks because of small
format changes elsewhere).

Eventually, the syntax and types2 packages will provide most error
and diagnostic compiler output at which point fmt.go can be further
simplified as well.

Change-Id: Ie93eefd3e1166f3548fed0199b732dbd6c81948a
Reviewed-on: https://go-review.googlesource.com/c/go/+/282560
Trust: Robert Griesemer <gri@golang.org>
Run-TryBot: Robert Griesemer <gri@golang.org>
Reviewed-by: Matthew Dempsky <mdempsky@google.com>
Reviewed-by: Austin Clements <austin@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
src/cmd/compile/fmt_test.go [deleted file]
src/cmd/compile/fmtmap_test.go [deleted file]