KE2: Don't actually deprecate WhenBranch.getCondition() yet

It makes a lot of noise in the CFG QLL, that we aren't fixing yet
This commit is contained in:
Ian Lynagh
2024-11-25 17:14:35 +00:00
parent 86ddb3b6c1
commit 2c595417f1

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()
}