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

Introduce 'when' expression #1338

Closed
Kotlin-GDE opened this issue Nov 26, 2020 · 2 comments
Closed

Introduce 'when' expression #1338

Kotlin-GDE opened this issue Nov 26, 2020 · 2 comments
Labels
feature Proposed language feature that solves one or more problems state-duplicate This issue or pull request already exists

Comments

@Kotlin-GDE
Copy link

No description provided.

@Kotlin-GDE Kotlin-GDE added the feature Proposed language feature that solves one or more problems label Nov 26, 2020
@Kotlin-GDE Kotlin-GDE changed the title Introduce 'when' expression (instead of switch-case) Introduce 'when' expression Nov 26, 2020
@mateusfccp
Copy link
Contributor

What is when expression?

@lrhn
Copy link
Member

lrhn commented Nov 27, 2020

I'm assuming the Kotlin when expression in some variant.
I'll close this as a duplicate of #27, which is talking about general improvements to switch.

If it's more about having an expression switch, then #762 is relevant instead.

@lrhn lrhn closed this as completed Nov 27, 2020
@lrhn lrhn added the state-duplicate This issue or pull request already exists label Nov 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Proposed language feature that solves one or more problems state-duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

3 participants