diff options
author | Robert Griesemer <gri@golang.org> | 2018-06-25 16:21:59 -0700 |
---|---|---|
committer | Robert Griesemer <gri@golang.org> | 2018-06-26 17:31:34 +0000 |
commit | cd016af6b6bbbeeb1c14fea574914862a50c3ad6 (patch) | |
tree | 6cc6fe2049b7640ae2a58ea5c458294059c9c2be /api/go1.11.txt | |
parent | 8997ec1c4e01b01f9950f0869085ef5be6d45ef0 (diff) | |
download | go-cd016af6b6bbbeeb1c14fea574914862a50c3ad6.tar.gz go-cd016af6b6bbbeeb1c14fea574914862a50c3ad6.zip |
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 <josharian@gmail.com>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Diffstat (limited to 'api/go1.11.txt')
-rw-r--r-- | api/go1.11.txt | 2 |
1 files changed, 1 insertions, 1 deletions
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) |