Add indirect method calls

This commit is contained in:
Owen Mansel-Chan
2025-09-11 11:28:55 +01:00
parent 84e70e166e
commit d9e7c89af0
2 changed files with 7 additions and 0 deletions

View File

@@ -5,6 +5,8 @@
| test.go:22:2:22:2 | definition of a | test.go:26:2:26:2 | a |
| test.go:22:2:22:2 | definition of a | test.go:29:6:29:6 | a |
| test.go:22:2:22:2 | definition of a | test.go:30:7:30:7 | a |
| test.go:22:2:22:2 | definition of a | test.go:35:4:35:4 | a |
| test.go:22:2:22:2 | definition of a | test.go:36:5:36:5 | a |
| test.go:23:11:23:14 | &... | test.go:23:11:23:14 | &... |
| test.go:23:12:23:14 | selection of b | test.go:23:12:23:14 | selection of b |
| test.go:24:2:24:5 | selection of bs | test.go:24:2:24:5 | selection of bs |

View File

@@ -29,4 +29,9 @@ func f() {
c.m(a)
c.mp(a)
// Indirect method calls - missing post-update nodes for the receivers
f := c.m
fp := c.mp
f(a)
fp(a)
}