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

Collection tests: Add explicit type parameters for J2KT and enable J2KT tests #7080

Closed
wants to merge 0 commits into from

Conversation

copybara-service[bot]
Copy link
Contributor

Collection tests: Add explicit type parameters for J2KT and enable J2KT tests

  • The J2KT type inference often cannot infer @Nullable on type arguments
  • Kotlin doesn’t allow infering a function’s type arguments from the return type
    alone. J2KT errs on the side of printing anything that can be inferred in
    Java, but there are some situations where it backs off (this.of() in this cl)

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

Successfully merging this pull request may close these issues.

0 participants