Define getBlockImpl for synthesized method calls

This commit is contained in:
Alex Ford
2021-10-22 20:19:55 +01:00
committed by Tom Hvitved
parent a743067dc8
commit f6d99dc00d

View File

@@ -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 {