]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: fix println()
authorKeith Randall <khr@golang.org>
Fri, 8 Sep 2017 18:47:16 +0000 (11:47 -0700)
committerKeith Randall <khr@golang.org>
Fri, 8 Sep 2017 20:10:48 +0000 (20:10 +0000)
commit02deb77f6db19f5894d836790a64bd4dea86feb0
treecef5c833e22ba82b8e6784a8b4bd4c7aafefe12a
parent87dae58662c78c772cb210d685b354ae6916ef2d
cmd/compile: fix println()

println with no arguments accidentally doesn't print a newline.

Introduced at CL 55097

Fixes #21808

Change-Id: I9fc7b4271b9b31e4c9b6078f055195dc3907b62c
Reviewed-on: https://go-review.googlesource.com/62390
Run-TryBot: Keith Randall <khr@golang.org>
Reviewed-by: Emmanuel Odeke <emm.odeke@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/cmd/compile/internal/gc/walk.go
test/fixedbugs/issue21808.go [new file with mode: 0644]
test/fixedbugs/issue21808.out [new file with mode: 0644]