mirror of
https://github.com/golang/go
synced 2024-11-22 00:04:41 -07:00
parent
45ca9f7a9e
commit
101f499fa5
@ -1285,7 +1285,7 @@ indcl:
|
|||||||
'(' oarg_type_list_ocomma ')' fnres
|
'(' oarg_type_list_ocomma ')' fnres
|
||||||
{
|
{
|
||||||
// without func keyword
|
// without func keyword
|
||||||
$2 = checkarglist($2, 0);
|
$2 = checkarglist($2, 1);
|
||||||
$$ = nod(OTFUNC, fakethis(), N);
|
$$ = nod(OTFUNC, fakethis(), N);
|
||||||
$$->list = $2;
|
$$->list = $2;
|
||||||
$$->rlist = $4;
|
$$->rlist = $4;
|
||||||
|
8
test/fixedbugs/bug232.go
Normal file
8
test/fixedbugs/bug232.go
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
// $G $D/$F.go
|
||||||
|
|
||||||
|
// 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.
|
||||||
|
|
||||||
|
package main
|
||||||
|
type I interface { X(...) }
|
Loading…
Reference in New Issue
Block a user