File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed
javascript/ql/test/library-tests/GlobalAccessPaths Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -75,7 +75,7 @@ test_getAnAssignmentTo
75
75
| test.js:30:1:30:28 | functio ... on() {} | globalFunction |
76
76
| test.js:32:1:35:1 | functio ... .baz'\\n} | destruct |
77
77
| test.js:37:1:41:1 | functio ... Init;\\n} | lazy |
78
- | test.js:43:1:61 :1 | functio ... // no\\n} | dominatingWrite |
78
+ | test.js:43:1:64 :1 | functio ... // no\\n} | dominatingWrite |
79
79
test_assignedUnique
80
80
| GlobalClass |
81
81
| destruct |
@@ -86,3 +86,4 @@ test_assignedUnique
86
86
hasDominatingWrite
87
87
| test.js:48:3:48:11 | obj.prop1 |
88
88
| test.js:57:5:57:13 | obj.prop3 |
89
+ | test.js:62:29:62:37 | obj.prop5 |
Original file line number Diff line number Diff line change @@ -58,4 +58,7 @@ function dominatingWrite() {
58
58
}
59
59
60
60
obj . prop4 = obj . prop4 ; // no
61
+
62
+ var foo = ( obj . prop5 = 2 , obj . prop5 ) ; // yes
63
+ var bar = ( obj . prop6 , obj . prop6 = 3 ) ; // no
61
64
}
You can’t perform that action at this time.
0 commit comments