You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
mikioh
changed the title
Issue with an example of Type Identities in the language spec
spec: Issue with an example of Type Identities in the language spec
Jan 5, 2018
Every few months we get a new error report claiming that there
is a typo in the spec related to this specific example. Clearly,
the fact that two types with the same identifier are identical
seems exceedingly obvious to readers; thus the example seems not
worth the trouble. Removing it.
For #9226.
For #22202.
For #22495.
For #23096.
For #23409.
There may be more.
Change-Id: I003ba79dc460ffb028a4ecb5f29efd60f2551912
Reviewed-on: https://go-review.googlesource.com/87417
Reviewed-by: Brad Fitzpatrick <[email protected]>
Reviewed-by: Rob Pike <[email protected]>
Reviewed-by: Ian Lance Taylor <[email protected]>
Reviewed-by: Matthew Dempsky <[email protected]>
Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (
go version
)?1.9
Does this issue reproduce with the latest release?
Yeah
What operating system and processor architecture are you using (
go env
)?N/A
What did you do?
Read the Language Spec
What did you expect to see?
"A0, B0, and C0" used as an example of equivalent types in the "Type identity" section of https://golang.org/ref/spec
What did you see instead?
"B0, B0, and C0" used as an example of equivalent types in the "Type identity" section of https://golang.org/ref/spec
The text was updated successfully, but these errors were encountered: