radon-project/radon

[BUG]: `switch` statement `Runtime Error: No cases matched` issue.

Closed this issue · 0 comments

Describe the bug
Issue with switch statement. When there is no case to match, it will raise an exception Runtime Error: No cases matched.

Expected behavior
Should execute without any issue.

Screenshots or Code snippets

switch 44 {
    case 1 {
        print("unreachable")
    }
}