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
The generated binding code is not generating any sequence unpacking code. I expected this to either succeed or to generate an error saying type aliases are not supported.
Here is a small package which can be used to reproduce the error:
go get github.com/sridharv/bugreports/typealiasmissing
gomobile bind github.com/sridharv/bugreports/typealiasmissing
The text was updated successfully, but these errors were encountered:
error message example:
gomobile: unsupported named type github.com/sridharv/bugreports/typealiasmissing.Alias
Objective-C and Java generation code currently panics, which need to be
fixed separately. (See TODO in bind/seq.go)
Fixesgolang/go#13190
Change-Id: Ie46dc58ea800522b8ab7cb8ac662ad561e0ca82e
Reviewed-on: https://go-review.googlesource.com/16780
Reviewed-by: Burcu Dogan <jbd@google.com>
imWildCat
pushed a commit
to imWildCat/go-mobile
that referenced
this issue
Apr 11, 2021
error message example:
gomobile: unsupported named type github.com/sridharv/bugreports/typealiasmissing.Alias
Objective-C and Java generation code currently panics, which need to be
fixed separately. (See TODO in bind/seq.go)
Fixesgolang/go#13190
Change-Id: Ie46dc58ea800522b8ab7cb8ac662ad561e0ca82e
Reviewed-on: https://go-review.googlesource.com/16780
Reviewed-by: Burcu Dogan <jbd@google.com>
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Context:
go version devel +9172a1b
gomobile version +1452f03
On Mac OSX
I created a package with an exported function that had a parameter with a type alias as shown below.
When I run
gomobile bind
I get the following error:The generated binding code is not generating any sequence unpacking code. I expected this to either succeed or to generate an error saying type aliases are not supported.
Here is a small package which can be used to reproduce the error:
The text was updated successfully, but these errors were encountered: