mirror of
https://github.com/github/codeql.git
synced 2025-12-16 16:53:25 +01:00
Fix autoformat comment translocation
This commit is contained in:
@@ -48,8 +48,8 @@ where
|
|||||||
exprs(e, oldKind, typeid, _, _) and
|
exprs(e, oldKind, typeid, _, _) and
|
||||||
hasNewParent(e, parent, index) and
|
hasNewParent(e, parent, index) and
|
||||||
(
|
(
|
||||||
if oldKind = 89
|
if oldKind = /* record pattern */ 89
|
||||||
then /* record pattern */ newKind = 74
|
then newKind = /* error expression */ 74
|
||||||
else /* error expression */ oldKind = newKind
|
else oldKind = newKind
|
||||||
)
|
)
|
||||||
select e, newKind, typeid, parent, index
|
select e, newKind, typeid, parent, index
|
||||||
|
|||||||
Reference in New Issue
Block a user