Skip to content

Commit 1d82756

Browse files
committed
Fix downgrade script
1 parent 04c9f60 commit 1d82756

File tree

1 file changed

+1
-1
lines changed
  • java/downgrades/dee651b58d1e5455ca2d07eca37775a21d772fcc

1 file changed

+1
-1
lines changed

java/downgrades/dee651b58d1e5455ca2d07eca37775a21d772fcc/exprs.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ predicate hasNewParent(Expr e, ExprParent newParent, int newIndex) {
3535
}
3636

3737
from Expr e, int oldKind, int newKind, Type typeid, ExprParent parent, int index
38-
where exprs(e, kind, typeid, _, _) and
38+
where exprs(e, oldKind, typeid, _, _) and
3939
hasNewParent(e, parent, index) and
4040
(if oldKind = 89 /* record pattern */ then newKind = 74 /* error expression */ else oldKind = newKind)
4141
select e, newKind, typeid, parent, index

0 commit comments

Comments
 (0)