mirror of
https://github.com/github/codeql.git
synced 2026-04-24 16:25:15 +02:00
JS: Explicit mark comment as a TODO
This commit is contained in:
@@ -82,7 +82,7 @@ class MapGet extends SummarizedCallable {
|
||||
MapGet() { this = "Map#get" }
|
||||
|
||||
override DataFlow::MethodCallNode getACallSimple() {
|
||||
none() and // Disabled for now - need MaD syntax for known map values
|
||||
none() and // TODO: Disabled for now - need MaD syntax for known map values
|
||||
result.getMethodName() = "get" and
|
||||
result.getNumArgument() = 1
|
||||
}
|
||||
@@ -108,7 +108,7 @@ class MapSet extends SummarizedCallable {
|
||||
output = "ReturnValue"
|
||||
or
|
||||
preservesValue = true and
|
||||
none() and // Disabled for now - need MaD syntax for known map values
|
||||
none() and // TODO: Disabled for now - need MaD syntax for known map values
|
||||
(
|
||||
input = "Argument[0]" and
|
||||
output = "Argument[this].MapKey"
|
||||
|
||||
Reference in New Issue
Block a user