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

Support expression blocks #396

Open
dzikoysk opened this issue Nov 1, 2019 · 0 comments
Open

Support expression blocks #396

dzikoysk opened this issue Nov 1, 2019 · 0 comments

Comments

@dzikoysk
Copy link
Member

dzikoysk commented Nov 1, 2019

Expression block could allow structures like

Int expressionValue = if (true) {
                          return 5
                      }
                      else {
                          return 10
                      }

String value = switch (expressionValue) {
    case 5 -> "A",
    case 10 -> "B",
    default -> ":("
}
@dzikoysk dzikoysk changed the title Add expression block Support expression block Nov 1, 2019
@dzikoysk dzikoysk added this to the After alpha release milestone Nov 1, 2019
@dzikoysk dzikoysk changed the title Support expression block Support expression blocks Mar 13, 2020
@dzikoysk dzikoysk removed this from the Release beta milestone Jan 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant