mirror of
https://github.com/github/codeql.git
synced 2026-05-01 19:55:15 +02:00
Define getBlockImpl for synthesized method calls
This commit is contained in:
@@ -50,7 +50,7 @@ class MethodCallSynth extends MethodCallImpl, TMethodCallSynth {
|
||||
|
||||
final override int getNumberOfArgumentsImpl() { this = TMethodCallSynth(_, _, _, _, result) }
|
||||
|
||||
final override Block getBlockImpl() { none() }
|
||||
final override Block getBlockImpl() { synthChild(this, -2, result) }
|
||||
}
|
||||
|
||||
class IdentifierMethodCall extends MethodCallImpl, TIdentifierMethodCall {
|
||||
|
||||
Reference in New Issue
Block a user