Skip to content

Commit c7d764f

Browse files
committed
Brought back FunctionStyleClass marked as deprecated
1 parent 9bab593 commit c7d764f

File tree

1 file changed

+2
-0
lines changed
  • javascript/ql/lib/semmle/javascript/dataflow

1 file changed

+2
-0
lines changed

javascript/ql/lib/semmle/javascript/dataflow/Nodes.qll

+2
Original file line numberDiff line numberDiff line change
@@ -1236,6 +1236,8 @@ module ClassNode {
12361236
func instanceof AbstractCallable // the join-order goes bad if `func` has type `AbstractFunction`.
12371237
}
12381238

1239+
deprecated class FunctionStyleClass = StandardClassNode;
1240+
12391241
/**
12401242
* A function definition, targeted by a `new`-call or with prototype manipulation, seen as a `ClassNode` instance.
12411243
* Or An ES6 class as a `ClassNode` instance.

0 commit comments

Comments
 (0)