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
|
||||
hasNewParent(e, parent, index) and
|
||||
(
|
||||
if oldKind = 89
|
||||
then /* record pattern */ newKind = 74
|
||||
else /* error expression */ oldKind = newKind
|
||||
if oldKind = /* record pattern */ 89
|
||||
then newKind = /* error expression */ 74
|
||||
else oldKind = newKind
|
||||
)
|
||||
select e, newKind, typeid, parent, index
|
||||
|
||||
Reference in New Issue
Block a user