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

NeedsPermission annotated method with parameter doesn't work in Kotlin #376

Closed
hotchemi opened this issue Sep 17, 2017 · 2 comments
Closed
Assignees
Labels
Milestone

Comments

@hotchemi
Copy link
Member

Log: https://gist.github.com/ryugoo/cf8d4057973eac940c7713e054c02c35

@shiraji
Copy link
Member

shiraji commented Sep 17, 2017

There are multiple issues here.

  • kotlin.String converts to java.lang.String
  • GrantableRequest declares as val
  • GrantableRequest should be nullable and initializes as null
  • XxxPermissionRequest has property that is the same name with primary constructor's one.

I am working on GrantableRequest and XxxPermissionRequest problems.

@hotchemi
Copy link
Member Author

Thx! I've just worked on it and here's a patch file.

patch.txt

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

No branches or pull requests

2 participants