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

Describe and implement rules on labels usage #697

Closed
petertrr opened this issue Jan 12, 2021 · 1 comment · Fixed by #715
Closed

Describe and implement rules on labels usage #697

petertrr opened this issue Jan 12, 2021 · 1 comment · Fixed by #715
Assignees
Labels
documentation Improvements or additions to documentation enhancement New feature or request

Comments

@petertrr
Copy link
Member

https://kotlinlang.org/docs/reference/returns.html

add it to chapter 5

@petertrr petertrr added documentation Improvements or additions to documentation enhancement New feature or request labels Jan 12, 2021
@kentr0w kentr0w self-assigned this Jan 14, 2021
@orchestr7
Copy link
Member

orchestr7 commented Jan 18, 2021

We should not prohibit nested blocks with labels (because in some cases it is very useful, for example when you have nested loops), but should prohibit simple loops/lambdas where labels are used

@kentr0w kentr0w mentioned this issue Jan 19, 2021
6 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants