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

Remove KClass based Kotlin extensions and keep only reified type parameters ones [SPR-15660] #20219

Closed
spring-issuemaster opened this issue Jun 13, 2017 · 0 comments
Assignees
Labels
Milestone

Comments

@spring-issuemaster
Copy link
Collaborator

@spring-issuemaster spring-issuemaster commented Jun 13, 2017

Sébastien Deleuze opened SPR-15660 and commented

After more thoughts and discussion, I think this is better to keep only the reified type parameter extensions and to remove KClass based variants.

These KClass variants add too much overloaded options, can't leverage type system to infer the type, are not super Kotlin-ish and can be replaced by the Class original java method using Foo::class.java.


Referenced from: commits 04d5a29

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.

None yet
2 participants
You can’t perform that action at this time.