Skip to content

Commit cbbf7c2

Browse files
committed
Include pre-update node in output
1 parent 4227dd7 commit cbbf7c2

File tree

2 files changed

+19
-16
lines changed

2 files changed

+19
-16
lines changed
Lines changed: 18 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,18 @@
1-
| test.go:19:2:19:2 | definition of a |
2-
| test.go:20:11:20:14 | &... |
3-
| test.go:20:12:20:14 | selection of b |
4-
| test.go:21:2:21:5 | selection of bs |
5-
| test.go:21:2:21:8 | index expression |
6-
| test.go:21:17:21:20 | &... |
7-
| test.go:21:18:21:20 | struct literal |
8-
| test.go:22:2:22:5 | selection of bs |
9-
| test.go:22:2:22:8 | index expression |
10-
| test.go:22:2:22:13 | implicit dereference |
11-
| test.go:22:2:22:13 | selection of cptr |
12-
| test.go:23:2:23:7 | implicit dereference |
13-
| test.go:23:2:23:7 | selection of bptr |
14-
| test.go:23:2:23:12 | implicit dereference |
15-
| test.go:23:2:23:12 | selection of cptr |
1+
| test.go:19:2:19:2 | definition of a | test.go:20:2:20:2 | a |
2+
| test.go:19:2:19:2 | definition of a | test.go:21:2:21:2 | a |
3+
| test.go:19:2:19:2 | definition of a | test.go:22:2:22:2 | a |
4+
| test.go:19:2:19:2 | definition of a | test.go:23:2:23:2 | a |
5+
| test.go:20:11:20:14 | &... | test.go:20:11:20:14 | &... |
6+
| test.go:20:12:20:14 | selection of b | test.go:20:12:20:14 | selection of b |
7+
| test.go:21:2:21:5 | selection of bs | test.go:21:2:21:5 | selection of bs |
8+
| test.go:21:2:21:8 | index expression | test.go:21:2:21:8 | index expression |
9+
| test.go:21:17:21:20 | &... | test.go:21:17:21:20 | &... |
10+
| test.go:21:18:21:20 | struct literal | test.go:21:18:21:20 | struct literal |
11+
| test.go:22:2:22:5 | selection of bs | test.go:22:2:22:5 | selection of bs |
12+
| test.go:22:2:22:8 | index expression | test.go:22:2:22:8 | index expression |
13+
| test.go:22:2:22:13 | implicit dereference | test.go:22:2:22:13 | implicit dereference |
14+
| test.go:22:2:22:13 | selection of cptr | test.go:22:2:22:13 | selection of cptr |
15+
| test.go:23:2:23:7 | implicit dereference | test.go:23:2:23:7 | implicit dereference |
16+
| test.go:23:2:23:7 | selection of bptr | test.go:23:2:23:7 | selection of bptr |
17+
| test.go:23:2:23:12 | implicit dereference | test.go:23:2:23:12 | implicit dereference |
18+
| test.go:23:2:23:12 | selection of cptr | test.go:23:2:23:12 | selection of cptr |
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
import go
22

33
from DataFlow::PostUpdateNode pun
4-
select pun
4+
select pun, pun.getPreUpdateNode()

0 commit comments

Comments
 (0)