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

Delta Between Two Patch Sets: test/fixedbugs/bug424.dir/main.go

Issue 6609051: code review 6609051: test: convert more tests to rundir/compiledir conventions (Closed)
Left Patch Set: diff -r c5101bdd9f67 https://go.googlecode.com/hg/ Created 12 years, 6 months ago
Right Patch Set: diff -r 73c6ec305dcb https://go.googlecode.com/hg/ Created 12 years, 6 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:
Left: Side by side diff | Download
Right: Side by side diff | Download
« no previous file with change/comment | « test/fixedbugs/bug424.go ('k') | test/import2.go » ('j') | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
(Both sides are equal)
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 // Tests that method calls through an interface always 5 // Tests that method calls through an interface always
6 // call the locally defined method localT.m independent 6 // call the locally defined method localT.m independent
7 // at which embedding level it is and in which order 7 // at which embedding level it is and in which order
8 // embedding is done. 8 // embedding is done.
9 9
10 package main 10 package main
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 localT 88 localT
89 } 89 }
90 if t5.m() != "main.localT.m" { 90 if t5.m() != "main.localT.m" {
91 println("BUG: t5:", t5.m(), "called") 91 println("BUG: t5:", t5.m(), "called")
92 } 92 }
93 i = &t5 93 i = &t5
94 if i.m() != "main.localT.m" { 94 if i.m() != "main.localT.m" {
95 println("BUG: myT5:", i.m(), "called") 95 println("BUG: myT5:", i.m(), "called")
96 } 96 }
97 } 97 }
LEFTRIGHT

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