-
Notifications
You must be signed in to change notification settings - Fork 17.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cmd/go: go:embed errors attributed to the wrong file #43469
Comments
Further, running
I would expect to see the same output as what I expected above. |
Looks like there are no |
This is a release blocker for 1.16: |
Change https://golang.org/cl/280452 mentions this issue: |
The fix for this looks pretty small. We just need to resolve embeds a little lower in I'll wait a bit to send a fix until we decide how to resolve #43632, since that will affect tests. |
Change https://golang.org/cl/283638 mentions this issue: |
Change https://golang.org/cl/283636 mentions this issue: |
For #43469 For #43632 Change-Id: I9ac2da690344935da0e1dbe00b134dfcee65ec8a Reviewed-on: https://go-review.googlesource.com/c/go/+/283636 Run-TryBot: Jay Conrod <jayconrod@google.com> TryBot-Result: Go Bot <gobot@golang.org> Trust: Jay Conrod <jayconrod@google.com> Reviewed-by: Bryan C. Mills <bcmills@google.com>
Change https://golang.org/cl/285213 mentions this issue: |
For #40070 For #41191 For #43469 For #43632 Change-Id: I6dc6b6ea0f35876a4c252e4e287a0280aca9d502 Reviewed-on: https://go-review.googlesource.com/c/go/+/285213 Trust: Ian Lance Taylor <iant@golang.org> Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Haven't tried on tip.
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
Run
go build
on:https://play.golang.org/p/HR-SdE2vE8c
What did you expect to see?
What did you see instead?
The line number is for the import of the package with the
go:embed
directive:The text was updated successfully, but these errors were encountered: