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

Issue 154870043: code review 154870043: fmt: print &map like &slice and &struct (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
9 years, 6 months ago by r
Modified:
9 years, 6 months ago
Reviewers:
iant
CC:
golang-codereviews, iant
Visibility:
Public.

Description

fmt: print &map like &slice and &struct It was inconsistent. Also test these better. Also document the default format for types. This wasn't written down. Fixes issue 8470.

Patch Set 1 #

Total comments: 1

Patch Set 2 : diff -r 59dd987ff80e19e68a2dd60cee622cf453202126 https://code.google.com/p/go/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+52 lines, -3 lines) Patch
M src/fmt/doc.go View 1 2 chunks +16 lines, -1 line 0 comments Download
M src/fmt/fmt_test.go View 3 chunks +32 lines, -2 lines 0 comments Download
M src/fmt/print.go View 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 3
r
Hello golang-codereviews@googlegroups.com, I'd like you to review this change to https://code.google.com/p/go/
9 years, 6 months ago (2014-10-03 22:35:00 UTC) #1
iant
LGTM https://codereview.appspot.com/154870043/diff/1/src/fmt/doc.go File src/fmt/doc.go (right): https://codereview.appspot.com/154870043/diff/1/src/fmt/doc.go#newcode65 src/fmt/doc.go:65: array, slice: [elem0 elem1 ...} s/}/]/
9 years, 6 months ago (2014-10-04 00:23:34 UTC) #2
r
9 years, 6 months ago (2014-10-04 03:27:11 UTC) #3
*** Submitted as https://code.google.com/p/go/source/detail?r=24c75ee81645 ***

fmt: print &map like &slice and &struct
It was inconsistent.
Also test these better.
Also document the default format for types.
This wasn't written down.

Fixes issue 8470.

LGTM=iant
R=golang-codereviews, iant
CC=golang-codereviews
https://codereview.appspot.com/154870043
Sign in to reply to this message.

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