Add change note

This commit is contained in:
Chris Smowton
2022-04-01 11:20:03 +01:00
parent 04325abfa5
commit 81e60eb145

View File

@@ -0,0 +1,5 @@
---
category: minorAnalysis
---
* The `SwitchCase.getRuleExpression()` predicate now gets expressions for case rules with an expression on the right-hand side of the arrow belonging to both `SwitchStmt` and `SwitchExpr`, and the corresponding `getRuleStatement()` no longer returns an `ExprStmt` in either case. Previously `SwitchStmt` and `SwitchExpr` behaved differently in
this respect.