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

EMPTY_BLOCK_STRUCTURE_ERROR: is not raised on empty when block #1539

Closed
orchestr7 opened this issue Oct 29, 2022 · 0 comments · Fixed by #1605
Closed

EMPTY_BLOCK_STRUCTURE_ERROR: is not raised on empty when block #1539

orchestr7 opened this issue Oct 29, 2022 · 0 comments · Fixed by #1605
Assignees
Labels
bug Something isn't working
Milestone

Comments

@orchestr7
Copy link
Member

orchestr7 commented Oct 29, 2022

fun foo() {
    when (a) {
    }
}

EMPTY_BLOCK_STRUCTURE_ERROR should be raised on empty when block

@orchestr7 orchestr7 added the bug Something isn't working label Oct 29, 2022
@nulls nulls self-assigned this Oct 31, 2022
Cheshiriks added a commit that referenced this issue Jan 31, 2023
### What's done:
* added check for WHEN element

Closes #1539
Cheshiriks added a commit that referenced this issue Jan 31, 2023
### What's done:
* added check for WHEN element

Closes #1539
Cheshiriks added a commit that referenced this issue Jan 31, 2023
### What's done:
* added check for WHEN element

Closes #1539
Cheshiriks added a commit that referenced this issue Jan 31, 2023
* EMPTY_BLOCK_STRUCTURE_ERROR: is not raised on empty when block

### What's done:
* added check for WHEN element

Closes #1539
@0x6675636b796f75676974687562 0x6675636b796f75676974687562 added this to the 1.2.5 milestone Mar 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants