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
gotype rejects it with foo.go:4:30: index 0 (constant of type int) is out of bounds.
The text was updated successfully, but these errors were encountered:
mdempsky
changed the title
cmd/compile: compiler accepts unsafe.Offsetof([0]byte{}[0])
cmd/compile: compiler accepts unsafe.Sizeof([0]byte{}[0])
Oct 15, 2015
cmd/compile accepts this program:
gotype rejects it with
foo.go:4:30: index 0 (constant of type int) is out of bounds
.The text was updated successfully, but these errors were encountered: