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
1. What is a short input program that triggers the error?
package main
import (
"fmt"
"unsafe"
)
type example struct {
port uint16
}
func main() {
foo := new(example)
fmt.Println("offset=", unsafe.Offsetof(foo.port))
}
2. What is the full compiler output?
<epoch>: internal compiler error: dowidth any
3. What version of the compiler are you using? (Run it with the -V flag.)
8g version 5612+
4. Notes:
- Go changeset: 443fb42ed60e
- Go compiled on Windows
The text was updated successfully, but these errors were encountered:
by czapkofan:
The text was updated successfully, but these errors were encountered: