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
gccgo: gofrontend: confusing error message #51237
Labels
FrozenDueToAge
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
Comments
seankhliao
changed the title
gofrontend: confusing error message
gccgo: gofrontend: confusing error message
Feb 17, 2022
dmitshur
added
the
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
label
Feb 17, 2022
Change https://go.dev/cl/415994 mentions this issue: |
Change https://go.dev/cl/416014 mentions this issue: |
gopherbot
pushed a commit
that referenced
this issue
Jul 6, 2022
The new gofrontend message matches other gofrontend error messages, so adjust the test to accept it. For #27938 For #51237 Change-Id: I29b536f83a0cf22b1dbdae9abc2f5f6cf21d522d Reviewed-on: https://go-review.googlesource.com/c/go/+/416014 Run-TryBot: Ian Lance Taylor <iant@golang.org> Reviewed-by: Ian Lance Taylor <iant@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Than McIntosh <thanm@google.com>
xionghul
pushed a commit
to xionghul/gcc
that referenced
this issue
Jul 6, 2022
timll
pushed a commit
to timll/gcc
that referenced
this issue
Jul 16, 2022
realqhc
pushed a commit
to realqhc/gofrontend
that referenced
this issue
Aug 4, 2022
Fixes golang/go#51237 Change-Id: I84c131cc2e8dc791fd4b6e50217167c3d8d97cfb Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/415994 Reviewed-by: Than McIntosh <thanm@google.com> Reviewed-by: Ian Lance Taylor <iant@google.com>
jproberts
pushed a commit
to jproberts/go
that referenced
this issue
Aug 10, 2022
The new gofrontend message matches other gofrontend error messages, so adjust the test to accept it. For golang#27938 For golang#51237 Change-Id: I29b536f83a0cf22b1dbdae9abc2f5f6cf21d522d Reviewed-on: https://go-review.googlesource.com/c/go/+/416014 Run-TryBot: Ian Lance Taylor <iant@golang.org> Reviewed-by: Ian Lance Taylor <iant@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Than McIntosh <thanm@google.com>
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
FrozenDueToAge
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
$ gccgo -c foo.go
$ cat foo.go
What did you expect to see?
foo.go:3:13: undefined: unsafe
What did you see instead?
foo.go:3:19: error: expected package
3 | type TypeID unsafe.Pointer
|
The text was updated successfully, but these errors were encountered: