From c673bd9151dab23dcf7ea9e743b753a04f39abec Mon Sep 17 00:00:00 2001 From: Asger F Date: Fri, 27 Feb 2026 13:34:55 +0100 Subject: [PATCH] JS: Document a missing alert due to limitation in structural comparison --- .../ql/test/query-tests/Expressions/DuplicateProperty/tst2.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/javascript/ql/test/query-tests/Expressions/DuplicateProperty/tst2.js b/javascript/ql/test/query-tests/Expressions/DuplicateProperty/tst2.js index c673055fbf7..0dd2c0cae13 100644 --- a/javascript/ql/test/query-tests/Expressions/DuplicateProperty/tst2.js +++ b/javascript/ql/test/query-tests/Expressions/DuplicateProperty/tst2.js @@ -7,7 +7,7 @@ var o = { setX: function(x) { this.x = x; - }, + }, // $ MISSING: Alert // The structural comparison fails to treat the two 'x' variables as the same getX: function() { return this.x;