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

Delta Between Two Patch Sets: src/pkg/go/printer/testdata/comments.x

Issue 4715041: code review 4715041: go/printer: changed max. number of newlines from 3 to 2 (Closed)
Left Patch Set: Created 13 years, 8 months ago
Right Patch Set: diff -r 43f78423340b https://go.googlecode.com/hg/ Created 13 years, 8 months ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
Right: Side by side diff | Download
« no previous file with change/comment | « src/pkg/go/printer/testdata/comments.golden ('k') | src/pkg/go/printer/testdata/declarations.golden » ('j') | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
(no file at all)
1 // This is a package for testing comment placement by go/printer. 1 // This is a package for testing comment placement by go/printer.
2 // 2 //
3 package main 3 package main
4
5 4
6 // The SZ struct; it is empty. 5 // The SZ struct; it is empty.
7 type SZ struct{} 6 type SZ struct{}
8 7
9 // The S0 struct; no field is exported. 8 // The S0 struct; no field is exported.
10 type S0 struct { 9 type S0 struct {
11 // contains filtered or unexported fields 10 // contains filtered or unexported fields
12 } 11 }
13 12
14 // The S1 struct; some fields are not exported. 13 // The S1 struct; some fields are not exported.
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 } 47 }
49 48
50 // The S3 struct; all comments except for the last one must appear in the export . 49 // The S3 struct; all comments except for the last one must appear in the export .
51 type S3 struct { 50 type S3 struct {
52 // lead comment for F1 51 // lead comment for F1
53 F1 int // line comment for F1 52 F1 int // line comment for F1
54 // lead comment for F2 53 // lead comment for F2
55 F2 int // line comment for F2 54 F2 int // line comment for F2
56 // contains filtered or unexported fields 55 // contains filtered or unexported fields
57 } 56 }
LEFTRIGHT

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