Skip to content

Commit c673bd9

Browse files
committed
JS: Document a missing alert due to limitation in structural comparison
1 parent 0f2de46 commit c673bd9

File tree

1 file changed

+1
-1
lines changed
  • javascript/ql/test/query-tests/Expressions/DuplicateProperty

1 file changed

+1
-1
lines changed

javascript/ql/test/query-tests/Expressions/DuplicateProperty/tst2.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ var o = {
77

88
setX: function(x) {
99
this.x = x;
10-
},
10+
}, // $ MISSING: Alert // The structural comparison fails to treat the two 'x' variables as the same
1111

1212
getX: function() {
1313
return this.x;

0 commit comments

Comments
 (0)