x/mobile: imported structs from other packages get skipped even if they're valid #39791
Labels
FrozenDueToAge
mobile
Android, iOS, and x/mobile
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yeah
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
Trying to run
gomobile bind -target=ios github.com/user/a
on this code and it won't work even thoughMyStruct
is valid against the type restrictions.Folder structure
However the following work:
NewIssue()
to(string, error)
for example; orMyStruct
from foldera/b
toa
What did you expect to see?
The generated header files containing definitions for my function.
What did you see instead?
The text was updated successfully, but these errors were encountered: