Skip to content

Commit

Permalink
fix: type aliases
Browse files Browse the repository at this point in the history
  • Loading branch information
ldez committed Dec 15, 2024
1 parent 78a0873 commit 04b5c1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/analyzer/analyzer.go
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ const (
)

func (n *nilNil) isDangerNilType(t types.Type) (bool, zeroValue) {
switch v := t.(type) {
switch v := types.Unalias(t).(type) {
case *types.Pointer:
return n.checkedTypes.Contains(ptrType), zeroValueNil

Expand Down

0 comments on commit 04b5c1e

Please sign in to comment.