Skip to content

exportloopref may be able to check decendants member like a.b.c.d... #5

@kyoh86

Description

@kyoh86

#2 is the problem that when a parent of Selector (i.e. a of the a.b) is the pointer, exportloopref reports false-positive.

In past, I thought that exportloopref cannot report &a.b.c.d since it cannot check each of the layer in the Selectors is not a pointer.
But now, I found the solution ( *analysis.Pass.TypeInfo ).
So maybe I can check that.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions