Kotlin / KEEP

Kotlin Evolution and Enhancement Process
Apache License 2.0
3.29k stars 357 forks source link

Guards #370

Closed serras closed 2 days ago

serras commented 3 months ago

Only comment here about the text itself. The discussion about the feature is done in https://github.com/Kotlin/KEEP/issues/371.

This KEEP proposes an extension of branches in when expressions with subject, which unlock the ability to perform multiple checks in the condition of the branch.