aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/mpallocbits.go
diff options
context:
space:
mode:
authorAriel Mashraki <ariel@mashraki.co.il>2019-10-24 14:36:57 +0300
committerBryan C. Mills <bcmills@google.com>2019-11-08 20:50:17 +0000
commit9e914f55dded9f779aae86cfb2e989bc9a1d3ea4 (patch)
tree285034e795c23097b919665c41ca86986c729060 /src/runtime/mpallocbits.go
parentbababde766afe97ff2100c467f416caa28475b18 (diff)
downloadgo-9e914f55dded9f779aae86cfb2e989bc9a1d3ea4.tar.xz
cmd/go/internal/modload: fail if no package was found in local module
Changing the Import function to return a PackageNotInModuleError if no package was found in a local module. This replacing the vague message "missing dot in first path element" you get today with much more friendly one - "module was found, but does not contain package". Fixes #35273 Change-Id: I6d726c17e6412258274b10f58f76621617d26e0a Reviewed-on: https://go-review.googlesource.com/c/go/+/203118 Reviewed-by: Bryan C. Mills <bcmills@google.com> Run-TryBot: Bryan C. Mills <bcmills@google.com>
Diffstat (limited to 'src/runtime/mpallocbits.go')
0 files changed, 0 insertions, 0 deletions