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

Side by Side Diff: test/fixedbugs/issue3552.dir/one.go

Issue 6866047: code review 6866047: cmd/gc: fix wrong interaction between inlining and embe... (Closed)
Patch Set: diff -r 4144b7f4d82e https://go.googlecode.com/hg/ Created 11 years, 3 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:
View unified diff | Download patch
« no previous file with comments | « test/fixedbugs/issue3552.go ('k') | test/fixedbugs/issue3552.dir/two.go » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 The Go Authors. All rights reserved. 1 // Copyright 2012 The Go Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style 2 // Use of this source code is governed by a BSD-style
3 // license that can be found in the LICENSE file. 3 // license that can be found in the LICENSE file.
4 4
5 package one 5 package one
6 6
7 // Issue 3552 7 // Issue 3552
8 8
9 type T struct { int } 9 type T struct { int }
10 10
11 func (t T) F() int { return t.int } 11 func (t T) F() int { return t.int }
12 12
13 type U struct { int int } 13 type U struct { int int }
14 14
15 func (u U) F() int { return u.int } 15 func (u U) F() int { return u.int }
16 16
17 type lint int 17 type lint int
18 18
19 type V struct { lint } 19 type V struct { lint }
20 20
21 func (v V) F() int { return int(v.lint) } 21 func (v V) F() int { return int(v.lint) }
22 22
23 type W struct { lint lint } 23 type W struct { lint lint }
24 24
25 func (w W) F() int { return int(w.lint) } 25 func (w W) F() int { return int(w.lint) }
26 26
27 27
28 28
OLDNEW
« no previous file with comments | « test/fixedbugs/issue3552.go ('k') | test/fixedbugs/issue3552.dir/two.go » ('j') | no next file with comments »

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