From cd016af6b6bbbeeb1c14fea574914862a50c3ad6 Mon Sep 17 00:00:00 2001 From: Robert Griesemer Date: Mon, 25 Jun 2018 16:21:59 -0700 Subject: go/types: rename NewInterface2 to NewInterfaceType NewInterface2 was introduced with https://go-review.googlesource.com/114317 which fixed #25301. Changed the name to NewInterfaceType to better match Go naming styles, per discussion with @josharian, @iant, et al. Change-Id: Ifa4708a5efd4f708295b33c3d20fdc5812e1b4fc Reviewed-on: https://go-review.googlesource.com/120875 Reviewed-by: Josh Bleecher Snyder Reviewed-by: Ian Lance Taylor --- api/go1.11.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'api') diff --git a/api/go1.11.txt b/api/go1.11.txt index 1c641eac51..d474cf0e8d 100644 --- a/api/go1.11.txt +++ b/api/go1.11.txt @@ -437,7 +437,7 @@ pkg debug/pe, const IMAGE_FILE_MACHINE_ARM64 = 43620 pkg debug/pe, const IMAGE_FILE_MACHINE_ARM64 ideal-int pkg go/ast, type CompositeLit struct, Incomplete bool pkg go/token, method (*File) AddLineColumnInfo(int, string, int, int) -pkg go/types, func NewInterface2([]*Func, []Type) *Interface +pkg go/types, func NewInterfaceType([]*Func, []Type) *Interface pkg go/types, method (*Interface) EmbeddedType(int) Type pkg go/types, method (*Var) Embedded() bool pkg net, method (*ListenConfig) Listen(context.Context, string, string) (Listener, error) -- cgit v1.2.3-54-g00ecf