mirror of
https://github.com/golang/go
synced 2024-11-21 18:14:42 -07:00
parent
45ca9f7a9e
commit
101f499fa5
@ -1285,7 +1285,7 @@ indcl:
|
||||
'(' oarg_type_list_ocomma ')' fnres
|
||||
{
|
||||
// without func keyword
|
||||
$2 = checkarglist($2, 0);
|
||||
$2 = checkarglist($2, 1);
|
||||
$$ = nod(OTFUNC, fakethis(), N);
|
||||
$$->list = $2;
|
||||
$$->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