Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

x/mobile: output diagnostic messages when skipping variables and methods #41937

Open
federicobond opened this issue Oct 12, 2020 · 1 comment · May be fixed by golang/mobile#54
Open

x/mobile: output diagnostic messages when skipping variables and methods #41937

federicobond opened this issue Oct 12, 2020 · 1 comment · May be fixed by golang/mobile#54

Comments

@federicobond
Copy link

@federicobond federicobond commented Oct 12, 2020

The current version of the gomobile/gobind tool silently skips methods and variables that are not supported by the bridge. The only indication that this has happened is found in the comments of the resulting bridge source files.

It would be very useful for the tool to also emit diagnostic messages to the console including the location of the objects that were skipped. This could be further extended with a mechanism to return a failure error code in the command if any objects were skipped, and some way to ignore these warnings for specific objects.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

3 participants
You can’t perform that action at this time.