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
/var/folders/r6/8n2n5zfj1qz_09jf1_yh2qgc0000gn/T/gomobile-work-011628298/go_client/go_clientmain.go:234: seq.Buffer undefined (type int has no field or method Buffer)
/var/folders/r6/8n2n5zfj1qz_09jf1_yh2qgc0000gn/T/gomobile-work-011628298/go_client/go_clientmain.go:238: seq.Transact undefined (type int has no field or method Transact)
/var/folders/r6/8n2n5zfj1qz_09jf1_yh2qgc0000gn/T/gomobile-work-011628298/go_client/go_clientmain.go:238: seq.Ref undefined (type int has no field or method Ref)
The text was updated successfully, but these errors were encountered:
Avoid taking a good name (seq) away from users.
Fixesgolang/go#14168
Change-Id: I88e90cb74b479e348c642a1caa27096ed4a6d68e
Reviewed-on: https://go-review.googlesource.com/19601
Reviewed-by: David Crawshaw <crawshaw@golang.org>
imWildCat
pushed a commit
to imWildCat/go-mobile
that referenced
this issue
Apr 11, 2021
Avoid taking a good name (seq) away from users.
Fixesgolang/go#14168
Change-Id: I88e90cb74b479e348c642a1caa27096ed4a6d68e
Reviewed-on: https://go-review.googlesource.com/19601
Reviewed-by: David Crawshaw <crawshaw@golang.org>
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi, if I have a filed name "seq", the gomobile will report a error message:
Example:
type ChatClientEvent interface {
ChatMessage2(seq int32, from string, msg string)
}
Error message when "gomobile bind -target=android xxxx"
gomobile: go build -p=8 -pkgdir=/Users/holden/go/pkg/gomobile/pkg_android_arm -tags="" -buildmode=c-shared -o=/var/folders/r6/8n2n5zfj1qz_09jf1_yh2qgc0000gn/T/gomobile-work-011628298/android/src/main/jniLibs/armeabi-v7a/libgojni.so /var/folders/r6/8n2n5zfj1qz_09jf1_yh2qgc0000gn/T/gomobile-work-011628298/androidlib/main.go failed: exit status 2
_/var/folders/r6/8n2n5zfj1qz_09jf1_yh2qgc0000gn/T/gomobile-work-011628298/go_client
/var/folders/r6/8n2n5zfj1qz_09jf1_yh2qgc0000gn/T/gomobile-work-011628298/go_client/go_clientmain.go:234: seq.Buffer undefined (type int has no field or method Buffer)
/var/folders/r6/8n2n5zfj1qz_09jf1_yh2qgc0000gn/T/gomobile-work-011628298/go_client/go_clientmain.go:238: seq.Transact undefined (type int has no field or method Transact)
/var/folders/r6/8n2n5zfj1qz_09jf1_yh2qgc0000gn/T/gomobile-work-011628298/go_client/go_clientmain.go:238: seq.Ref undefined (type int has no field or method Ref)
The text was updated successfully, but these errors were encountered: