Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(49)

Issue 11998044: code review 11998044: fmt: make all errors begin with the string "%!", always. (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 7 months ago by kortschak
Modified:
11 years, 7 months ago
Reviewers:
r, kisielk
CC:
dsymonds, r, kisielk, golang-dev
Visibility:
Public.

Description

fmt: make all errors begin with the string "%!", always. Fixes Issue 5730.

Patch Set 1 #

Patch Set 2 : diff -r 2f6ebc31b696 https://go.googlecode.com/hg/ #

Patch Set 3 : diff -r 2f6ebc31b696 https://go.googlecode.com/hg/ #

Patch Set 4 : diff -r cd0bae7395e8 https://go.googlecode.com/hg/ #

Patch Set 5 : diff -r cd0bae7395e8 https://go.googlecode.com/hg/ #

Total comments: 1

Patch Set 6 : diff -r cd0bae7395e8 https://code.google.com/p/go/ #

Total comments: 1

Patch Set 7 : diff -r cd0bae7395e8 https://code.google.com/p/go/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+37 lines, -36 lines) Patch
M src/pkg/fmt/doc.go View 1 2 3 4 5 2 chunks +4 lines, -4 lines 0 comments Download
M src/pkg/fmt/fmt_test.go View 1 2 chunks +15 lines, -15 lines 0 comments Download
M src/pkg/fmt/print.go View 1 2 3 4 5 6 3 chunks +18 lines, -17 lines 0 comments Download

Messages

Total messages: 13
kortschak
11 years, 7 months ago (2013-07-31 04:57:03 UTC) #1
kortschak
Hello dsymonds@golang.org (cc: golang-dev@googlegroups.com), I'd like you to review this change to https://go.googlecode.com/hg/
11 years, 7 months ago (2013-07-31 04:57:54 UTC) #2
dsymonds
R=r!
11 years, 7 months ago (2013-07-31 05:02:09 UTC) #3
kortschak
On 2013/07/31 05:02:09, dsymonds wrote: > R=r! Sorry, +r.
11 years, 7 months ago (2013-07-31 05:06:03 UTC) #4
r
i have one in flight yours is good but please fix doc.go too - line ...
11 years, 7 months ago (2013-07-31 05:08:42 UTC) #5
kortschak
PTAL On 2013/07/31 05:08:42, r wrote: > i have one in flight yours is good ...
11 years, 7 months ago (2013-07-31 05:33:56 UTC) #6
kisielk
https://codereview.appspot.com/11998044/diff/15002/src/pkg/fmt/doc.go File src/pkg/fmt/doc.go (right): https://codereview.appspot.com/11998044/diff/15002/src/pkg/fmt/doc.go#newcode159 src/pkg/fmt/doc.go:159: Printf("%*[2]d", 7): %d!(BADINDEX) These still need to be %!d
11 years, 7 months ago (2013-07-31 05:35:26 UTC) #7
kortschak
PTAL On 2013/07/31 05:35:26, kisielk wrote: > https://codereview.appspot.com/11998044/diff/15002/src/pkg/fmt/doc.go > File src/pkg/fmt/doc.go (right): > > https://codereview.appspot.com/11998044/diff/15002/src/pkg/fmt/doc.go#newcode159 ...
11 years, 7 months ago (2013-07-31 05:47:16 UTC) #8
r
looks good after the one small change, but i'll wait for kisielk's sign-off too since ...
11 years, 7 months ago (2013-07-31 05:49:16 UTC) #9
kisielk
LGTM
11 years, 7 months ago (2013-07-31 05:54:16 UTC) #10
kortschak
On 2013/07/31 05:49:16, r wrote: > looks good after the one small change, but i'll ...
11 years, 7 months ago (2013-07-31 05:57:16 UTC) #11
r
LGTM
11 years, 7 months ago (2013-07-31 06:08:51 UTC) #12
r
11 years, 7 months ago (2013-07-31 06:11:17 UTC) #13
*** Submitted as https://code.google.com/p/go/source/detail?r=09a1cf0d94b2 ***

fmt: make all errors begin with the string "%!", always.

Fixes Issue 5730.

R=dsymonds, r, kamil.kisiel
CC=golang-dev
https://codereview.appspot.com/11998044

Committer: Rob Pike <r@golang.org>
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b