JS: Use defSourceNode from getRhsNode

This commit is contained in:
Asger F
2019-07-19 13:02:48 +01:00
parent 747c320c35
commit 28efadea73
4 changed files with 17 additions and 15 deletions

View File

@@ -50,6 +50,12 @@ test_fromReference
| test.js:24:9:24:10 | NS | NS |
| test.js:24:9:24:16 | NS \|\| {} | NS |
| test.js:26:1:26:8 | Conflict | Conflict |
| test.js:33:7:33:18 | { bar = {} } | foo |
| test.js:33:7:33:24 | bar | foo.bar |
| test.js:33:9:33:16 | bar = {} | foo.bar |
| test.js:33:22:33:24 | foo | foo |
| test.js:34:11:34:13 | bar | foo.bar |
| test.js:34:11:34:17 | bar.baz | foo.bar.baz |
test_fromRhs
| other_ns.js:4:9:4:16 | NS \|\| {} | NS |
| other_ns.js:6:12:6:13 | {} | Conflict |
@@ -58,7 +64,9 @@ test_fromRhs
| test.js:26:12:26:13 | {} | Conflict |
| test.js:28:1:28:20 | class GlobalClass {} | GlobalClass |
| test.js:30:1:30:28 | functio ... on() {} | globalFunction |
| test.js:32:1:35:1 | functio ... .baz'\\n} | destruct |
test_assignedUnique
| GlobalClass |
| destruct |
| f |
| globalFunction |