Skip to content

Commit 75f31f6

Browse files
committed
Java/C#: Adapt to signature change.
1 parent 84a2f36 commit 75f31f6

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

csharp/ql/lib/semmle/code/csharp/controlflow/internal/ControlFlowGraph.qll

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,8 @@ module Ast implements AstSig<Location> {
145145
final private class ParameterFinal = CS::Parameter;
146146

147147
class Parameter extends ParameterFinal {
148+
AstNode getPattern() { result = this }
149+
148150
Expr getDefaultValue() {
149151
// Avoid combinatorial explosions for callables with multiple bodies
150152
result = unique( | | super.getDefaultValue())

java/ql/lib/semmle/code/java/ControlFlowGraph.qll

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,8 @@ private module Ast implements AstSig<Location> {
6161
class Parameter extends AstNode {
6262
Parameter() { none() }
6363

64+
AstNode getPattern() { none() }
65+
6466
Expr getDefaultValue() { none() }
6567
}
6668

0 commit comments

Comments
 (0)