Merge pull request #18096 from igfoo/igfoo/deprec

KE2: Don't actually deprecate WhenBranch.getCondition() yet
This commit is contained in:
Ian Lynagh
2024-11-26 14:48:27 +00:00
committed by GitHub

View File

@@ -2603,7 +2603,7 @@ class WhenBranch extends Stmt, @whenbranch {
*
* Gets the condition of this branch.
*/
deprecated Expr getCondition() {
/* TODO: deprecated */ Expr getCondition() {
result = this.getCondition(0).(WhenBranchConditionWithExpression).getExpression()
}