Given two packages (for convenience represented via single files both stored in the same directory):
a.go: package init
b.go: package b; import "./a"
the compiler reports "cannot import package as init - init must be a func", but the go/types and types2 accept this (though they correctly don't accept a local rename to init).
cc: @findleyr