On the dev.regabi branch, the error message for this source file:
package p
import "bytes"
var x int = (*bytes.Buffer).Len
mentions *bytes.Buffer.Len. That's incorrect: it should be (*bytes.Buffer).Len, as it appears in the source.
(I suspect this is related to the ir/fmt.go changes in 4629f6a. Though it turns out we're printing it incorrectly even on master, where it prints as bytes.(*Buffer).Len.)
/cc @cuonglm
On the dev.regabi branch, the error message for this source file:
mentions
*bytes.Buffer.Len. That's incorrect: it should be(*bytes.Buffer).Len, as it appears in the source.(I suspect this is related to the ir/fmt.go changes in 4629f6a. Though it turns out we're printing it incorrectly even on master, where it prints as
bytes.(*Buffer).Len.)/cc @cuonglm