We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 666f836 commit ed02748Copy full SHA for ed02748
go/ql/test/library-tests/semmle/go/Types/aliases.go
@@ -25,3 +25,8 @@ type T = S3
25
func H(Afs3 T) int {
26
return Afs3.x
27
}
28
+
29
+type User[UserT any] struct{ x UserT }
30
31
+// An alias with a type parameter - added in Go 1.24
32
+type UserAlias[UserAliasT any] = User[UserAliasT]
go/ql/test/library-tests/semmle/go/Types/go.mod
@@ -1,3 +1,3 @@
1
module codeql-go-types
2
3
-go 1.23
+go 1.24
0 commit comments