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 2329525 commit 3a373c5Copy full SHA for 3a373c5
ql/ql/src/codeql_ql/ast/Ast.qll
@@ -743,7 +743,9 @@ class Module extends TModule, ModuleDeclaration {
743
}
744
745
/** Gets a ref to the module that this module implements. */
746
- TypeExpr getImplements(int i) { toQL(result) = mod.getImplements(i).getTypeExpr() }
+ TypeRef getImplements(int i) {
747
+ exists(SignatureExpr sig | sig.toQL() = mod.getImplements(i) | result = sig.asType())
748
+ }
749
750
/** Gets the module expression that this module is an alias for, if any. */
751
ModuleExpr getAlias() { toQL(result) = mod.getAFieldOrChild().(QL::ModuleAliasBody).getChild() }
0 commit comments