Skip to content

Implement Switch-to-If Without Transformation #3765

@wadoon

Description

@wadoon

Please describe your proposal in a ONE sentence

Implement the Switch-to-If feature directly, without a transformation step.

Underlying problem

Current implementation may rely on unnecessary transformation, increasing complexity and risk of bugs.

Usage Scenario

Improves code clarity and reduces potential issues during the translation of switch to if/else constructs.

Alternatives

Continue using the transformation approach; however, it introduces more room for error.

Estimated effort

Likely moderate, depending on usage in the codebase.

Additional context

Refer to parent backlog #3762.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions