Also fixes a parameter name handling problem when processing a function signature that omits parameter names. Fixes golang/go#10788. Change-Id: I65273d330bbf3a836ec9e4ffb691927970d795d8 Reviewed-on: https://go-review.googlesource.com/9926 Reviewed-by: Alan Donovan <adonovan@google.com>
15 lines
333 B
Go
15 lines
333 B
Go
// Copyright 2015 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 issue10788
|
|
|
|
type TestStruct struct {
|
|
Value string
|
|
}
|
|
|
|
type TestInterface interface {
|
|
DoSomeWork(s *TestStruct)
|
|
MultipleUnnamedParams(_ int, p0 string, _ int64)
|
|
}
|