]> Cypherpunks repositories - gostls13.git/commitdiff
The compilers should and do permit interface types to list
authorIan Lance Taylor <iant@golang.org>
Sat, 15 Nov 2008 01:28:17 +0000 (17:28 -0800)
committerIan Lance Taylor <iant@golang.org>
Sat, 15 Nov 2008 01:28:17 +0000 (17:28 -0800)
multiple method names with a single type.

R=r,gri
DELTA=10  (0 added, 10 deleted, 0 changed)
OCL=19292
CL=19298

test/bugs/bug032.go [deleted file]
test/golden.out

diff --git a/test/bugs/bug032.go b/test/bugs/bug032.go
deleted file mode 100644 (file)
index fb11fdf..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
-// Copyright 2009 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.
-
-// $G $D/$F.go && echo BUG: compilation succeeds incorrectly
-
-package main
-
-type I interface {
-       g,f     ()int;  // BUG only one method name allowed per signature
-}
index cedf02964a371c332756e5bc9fd0f33881179561..3d7795022b14724401ed438198708fb795c50597 100644 (file)
@@ -85,9 +85,6 @@ PASS
 bugs/bug020.go:7: type of a structure field cannot be an open array
 BUG should compile
 
-=========== bugs/bug032.go
-BUG: compilation succeeds incorrectly
-
 =========== bugs/bug041.go
 BUG: compilation succeeds incorrectly