Kotlin / KEEP

Kotlin Evolution and Enhancement Process
Apache License 2.0
3.42k stars 362 forks source link

Guards #370

Closed serras closed 6 months ago

serras commented 9 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.