mirror of
https://github.com/github/codeql.git
synced 2026-04-29 18:55:14 +02:00
Merge branch 'main' into main
This commit is contained in:
@@ -45,6 +45,11 @@ predicate flowsToTypeRestrictedExpression(LocalObject obj) {
|
||||
restricted = assertion.getExpression()
|
||||
)
|
||||
or
|
||||
exists(SatisfiesExpr assertion |
|
||||
type = assertion.getTypeAnnotation() and
|
||||
restricted = assertion.getExpression()
|
||||
)
|
||||
or
|
||||
exists(BindingPattern v |
|
||||
type = v.getTypeAnnotation() and
|
||||
restricted = v.getAVariable().getAnAssignedExpr()
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
---
|
||||
category: fix
|
||||
---
|
||||
* Fixed a bug that would cause the extractor to crash when an `import` type is used in
|
||||
the `extends` clause of an `interface`.
|
||||
Reference in New Issue
Block a user