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 bb0435a commit 2ad4921Copy full SHA for 2ad4921
ruby/ql/lib/codeql/ruby/ApiGraphs.qll
@@ -793,7 +793,10 @@ module API {
793
or
794
pos.isAnyNamed() and
795
result = Label::keywordParameter(_)
796
- // TODO: needs handling of `self` ArgumentPosition
+ // Note: there is currently no API graph label for `self`.
797
+ // It was omitted since in practice it means going back to where you came from.
798
+ // For example, `base.getMethod("foo").getSelf()` would just be `base`.
799
+ // However, it's possible we'll need it later, for identifying `self` parameters or post-update nodes.
800
// or
801
// pos.isSelf() and
802
// ...
0 commit comments