Closed nunnatsa closed 1 year ago
For example, the function f()'s returned type is an interfce, but it actually returns a pointer.
The linter triggered a warning for this code:
Expect(somePointer).Eqaul(f())
But this is a actually a valid assertion.
This PR fixes this bug and does not trigger the warning the assertion compares to types.Named.
types.Named
@nunnatsa
Description
For example, the function f()'s returned type is an interfce, but it actually returns a pointer.
The linter triggered a warning for this code:
But this is a actually a valid assertion.
This PR fixes this bug and does not trigger the warning the assertion compares to
types.Named
.Type of change
How Has This Been Tested?
Checklist:
@nunnatsa