We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 85a652f commit 1037c2bCopy full SHA for 1037c2b
ql/ql/src/codeql_ql/style/DeadCodeQuery.qll
@@ -203,7 +203,7 @@ private AstNode classUnion() {
203
204
private AstNode benign() {
205
not result.getLocation().getFile().getExtension() = ["ql", "qll"] or // ignore dbscheme files
206
- result instanceof BlockComment or
+ result instanceof Comment or
207
not exists(result.toString()) or // <- invalid code
208
// cached-stages pattern
209
result.(Module).getAMember().(ClasslessPredicate).getName() = "forceStage" or
0 commit comments