From 7530943e07c529b413471f5b920f5fc1f1b09b12 Mon Sep 17 00:00:00 2001 From: Chris Smowton Date: Wed, 11 May 2022 10:42:58 +0100 Subject: [PATCH] Add change note announcing generics support --- ql/lib/change-notes/2022-05-11-generics-support.md | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 ql/lib/change-notes/2022-05-11-generics-support.md diff --git a/ql/lib/change-notes/2022-05-11-generics-support.md b/ql/lib/change-notes/2022-05-11-generics-support.md new file mode 100644 index 00000000..b52c6aa4 --- /dev/null +++ b/ql/lib/change-notes/2022-05-11-generics-support.md @@ -0,0 +1,4 @@ +--- +category: feature +--- +* Go 1.18 generics are now extracted and can be explored using the new CodeQL classes `TypeParamDecl`, `GenericFunctionInstantiationExpr`, `GenericTypeInstantiationExpr`, `TypeSetTerm` and `TypeSetLiteralType`, as well as using new predicates defined on the existing `InterfaceType`. Class- and predicate-level documentation can be found in the [Go CodeQL library reference](https://codeql.github.com/codeql-standard-libraries/go/).