Skip to content

Commit 1a0379a

Browse files
committed
introduce type resolution consistency checks
1 parent 15b5658 commit 1a0379a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

ql/src/queries/diagnostics/EmptyConsistencies.ql

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,10 @@ where
3333
or
3434
AstConsistency::nonTotalGetParent(node) and msg = "AstConsistency::nonTotalGetParent"
3535
or
36-
//or // has 1 result, but the CodeQL compiler also can't figure out that one. I suppoed the file is never imported.
37-
//TypeConsistency::noResolve(node) and msg = "TypeConsistency::noResolve"
38-
//or // has 1 result, but the CodeQL compiler also can't figure out that one. Same file as above.
39-
//ModConsistency::noResolve(node) and msg = "ModConsistency::noResolve"
36+
TypeConsistency::noResolve(node) and msg = "TypeConsistency::noResolve"
37+
or
38+
ModConsistency::noResolve(node) and msg = "ModConsistency::noResolve"
39+
or
4040
ModConsistency::noResolveModuleExpr(node) and msg = "ModConsistency::noResolveModuleExpr"
4141
or
4242
VarConsistency::noFieldDef(node) and msg = "VarConsistency::noFieldDef"

0 commit comments

Comments
 (0)