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

Unified Diff: test/bugs/424.dir/lib.go

Issue 5695083: code review 5695083: test: bug424: wrong embedded method called (Closed)
Patch Set: diff -r b8e3e5d3622d https://code.google.com/p/go Created 13 years ago
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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « test/bugs/424.go ('k') | test/bugs/424.dir/main.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/bugs/424.dir/lib.go
===================================================================
new file mode 100644
--- /dev/null
+++ b/test/bugs/424.dir/lib.go
@@ -0,0 +1,16 @@
+// Copyright 2012 The Go Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
+package lib
+
+type I interface {
+ m() string
+}
+
+type T struct{}
+
+// m is not accessible from outside this package.
+func (t *T) m() string {
+ return "lib.T.m"
+}
« no previous file with comments | « test/bugs/424.go ('k') | test/bugs/424.dir/main.go » ('j') | no next file with comments »

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