aboutsummaryrefslogtreecommitdiff
path: root/libcpp
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@gcc.gnu.org>2019-09-03 23:35:13 +0000
committerIan Lance Taylor <ian@gcc.gnu.org>2019-09-03 23:35:13 +0000
commit2974ecdae50dbeb7d0cec04f18d5f627ed79629b (patch)
tree4d306578609880333c3ce69c41f1838aa4a34ea5 /libcpp
parent64be2b26eb94fcb4d4e754aeb06e868535f33169 (diff)
downloadgcc-2974ecdae50dbeb7d0cec04f18d5f627ed79629b.zip
gcc-2974ecdae50dbeb7d0cec04f18d5f627ed79629b.tar.gz
gcc-2974ecdae50dbeb7d0cec04f18d5f627ed79629b.tar.bz2
compiler: only import variable into . if same package
If we dot-import a package, we should only add an imported variable to the package bindings if the variable is in the package being imported. A test case for this is the 1.13 os package, in which ErrClosed and friends are defined both locally and in the imported internal/oserror package. Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/192718 From-SVN: r275358
Diffstat (limited to 'libcpp')
0 files changed, 0 insertions, 0 deletions