Files
codeql/ruby/ql/lib/change-notes/released/6.0.0.md
2026-07-02 11:43:30 +00:00

345 B

6.0.0

Breaking Changes

  • The else branch of a case expression is no longer represented as a StmtSequence directly. Instead, a new CaseElseBranch AST node wraps the body (a StmtSequence). CaseExpr.getElseBranch() now returns a CaseElseBranch, and the body of the else branch can be accessed via CaseElseBranch.getBody().