mirror of
https://github.com/github/codeql.git
synced 2026-03-30 20:28:15 +02:00
JS: Mark corresponding lost result for the getter
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
| tst2.js:4:3:6:3 | getX: f ... .x;\\n } | This property is duplicated $@. | tst2.js:12:3:14:3 | getX: f ... .x;\\n } | in a later property |
|
||||
| tst.js:2:3:2:16 | "key": "value" | This property is duplicated $@. | tst.js:5:3:5:16 | "key": "value" | in a later property |
|
||||
| tst.js:4:3:4:14 | "1": "value" | This property is duplicated $@. | tst.js:11:3:11:12 | 1: "value" | in a later property |
|
||||
| tst.js:5:3:5:16 | "key": "value" | This property is duplicated $@. | tst.js:6:3:6:16 | 'key': "value" | in a later property |
|
||||
|
||||
@@ -3,7 +3,7 @@ var o = {
|
||||
|
||||
getX: function() {
|
||||
return this.x;
|
||||
}, // $ Alert
|
||||
}, // $ MISSING: Alert // The structural comparison fails to treat the two 'this' variables as the same
|
||||
|
||||
setX: function(x) {
|
||||
this.x = x;
|
||||
|
||||
Reference in New Issue
Block a user