all comments are alive

This commit is contained in:
Erik Krogh Kristensen
2022-07-14 13:30:12 +02:00
parent 85a652f3d1
commit 1037c2b182

View File

@@ -203,7 +203,7 @@ private AstNode classUnion() {
private AstNode benign() {
not result.getLocation().getFile().getExtension() = ["ql", "qll"] or // ignore dbscheme files
result instanceof BlockComment or
result instanceof Comment or
not exists(result.toString()) or // <- invalid code
// cached-stages pattern
result.(Module).getAMember().(ClasslessPredicate).getName() = "forceStage" or