Dictu icon indicating copy to clipboard operation
Dictu copied to clipboard

Added fall Keyword for the switch Statement

Open manoharkakumani opened this issue 7 months ago • 7 comments

What's Changed:

Added a new keyword fall to use it in switch statement to execute the next case in the flow

switch (1) {
    case 1: {
        // This block of code is executed!
    }

    fall case 10: {
        //  This block of code is executed!
    }
}

Type of Change:

  • [ ] Bug fix
  • [X] New feature
  • [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)

Housekeeping:

  • [X] Tests have been updated to reflect the changes done within this PR (if applicable).
  • [X] Documentation has been updated to reflect the changes done within this PR (if applicable).

Screenshots (If Applicable):

image

manoharkakumani avatar Jun 27 '24 07:06 manoharkakumani