]> Cypherpunks repositories - gostls13.git/commit
reflect: fix the collision of variable name and package name
authorhopehook <hopehook.com@gmail.com>
Sat, 12 Feb 2022 09:03:19 +0000 (17:03 +0800)
committerEmmanuel Odeke <emmanuel@orijtech.com>
Mon, 4 Apr 2022 04:04:18 +0000 (04:04 +0000)
commit884e75fa53529321352a18538fe9e02fd485c49a
tree212d1ab18bab6c996329d8f8c5cf062c4ab450e5
parenta92ca515077e5cf54673eb8c5c2d9db4824330db
reflect: fix the collision of variable name and package name

The return value "abi" of func "funcLayout" is the same as package
"internal/abi", which currently works fine, but it is more reliable to
avoid conflicts.

Change-Id: I83715dd79beff7cb3fc25747fef186dc0e2dfa8b
Reviewed-on: https://go-review.googlesource.com/c/go/+/385414
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Emmanuel Odeke <emmanuel@orijtech.com>
src/reflect/makefunc.go
src/reflect/type.go
src/reflect/value.go