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

Use KType instead of KClass in TypedWorker. #908

Merged
merged 1 commit into from Jan 24, 2020

Conversation

zach-klippenstein
Copy link
Collaborator

This change allows TypedWorkers to be distinguished by type parameters
on their type parameters (e.g. Worker<List<String>> vs Worker<List<Int>>),
instead of just the erased type (e.g. Worker<List> vs Worker<List>).

This change allows `TypedWorker`s to be distinguished by type parameters
on their type parameters (e.g. `Worker<List<String>>` vs `Worker<List<Int>>`),
instead of just the erased type (e.g. `Worker<List>` vs `Worker<List>`).
@zach-klippenstein zach-klippenstein added the enhancement New feature or request label Jan 24, 2020
@zach-klippenstein zach-klippenstein added this to the kotlin v0.23.0 milestone Jan 24, 2020
@zach-klippenstein zach-klippenstein added this to Needs review in Workflow (Kotlin) via automation Jan 24, 2020
Copy link
Contributor

@rjrjr rjrjr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Amazed this is so small!

@zach-klippenstein zach-klippenstein merged commit 99b7eae into master Jan 24, 2020
Workflow (Kotlin) automation moved this from Needs review to Done Jan 24, 2020
@zach-klippenstein zach-klippenstein deleted the zachklipp/worker-ktypes branch January 24, 2020 17:00
@zach-klippenstein zach-klippenstein added the kotlin Affects the Kotlin library. label Mar 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request kotlin Affects the Kotlin library.
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

None yet

2 participants