1
0
mirror of https://github.com/golang/go synced 2024-11-12 12:50:28 -07:00
go/src/encoding/base32
Joe Tsai b53088a634 Revert "go/printer: forbid empty line before first comment in block"
This reverts commit 08f19bbde1.

Reason for revert:
The changed transformation takes effect on a larger set
of code snippets than expected.

For example, this:
    func foo() {

        // Comment
        bar()

    }
becomes:
    func foo() {
        // Comment
        bar()

    }

This is an unintended consequence.

Change-Id: Ifca88d6267dab8a8170791f7205124712bf8ace8
Reviewed-on: https://go-review.googlesource.com/81335
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Run-TryBot: Joe Tsai <joetsai@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
2017-12-01 01:12:26 +00:00
..
base32_test.go encoding/base32: make NoPadding Encoding's DecodedLen return exact size 2017-07-06 21:16:45 +00:00
base32.go Revert "go/printer: forbid empty line before first comment in block" 2017-12-01 01:12:26 +00:00
example_test.go