Skip to content

Commit

Permalink
Merge pull request #190 from jcd2/v
Browse files Browse the repository at this point in the history
go.mod: upgrade Go version to 1.23.3
  • Loading branch information
distractible authored Nov 8, 2024
2 parents 4200c3f + dd52a54 commit 8e33775
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions analyzer/util.go
Original file line number Diff line number Diff line change
Expand Up @@ -421,6 +421,10 @@ func containsReflectValue(t types.Type) bool {
return false
}
seen[t] = struct{}{}
// If the unaliased type is different, use that.
if u := types.Unalias(t); u != t {
return rec(u)
}
// If the underlying type is different, use that.
if u := t.Underlying(); !types.Identical(t, u) {
return rec(u)
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/google/capslock

go 1.22.0
go 1.23.3

require (
github.com/fatih/color v1.18.0
Expand Down

0 comments on commit 8e33775

Please sign in to comment.