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

UiConstructor not working correctly #31

Open
jhickman opened this issue Jul 23, 2019 · 0 comments
Open

UiConstructor not working correctly #31

jhickman opened this issue Jul 23, 2019 · 0 comments

Comments

@jhickman
Copy link
Member

Created on behalf of @treblereel

As mentioned in PR #30 , if a widget has a @UiConstructor, the generated output is incorrect.

I (justin) was able to reproduce this issue locally. It is due to the creator variable being non-null, but not realizing it's because of a @UiConstructor and thinking it's a @UiFactory. That's why the output is something like owner.<init> because "" in this case is the simple name of the method (constructor in this case).

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

No branches or pull requests

1 participant