Merge pull request #5661 from smowton/smowton/cleanup/call-is-exprparent

Make Call a subclass of ExprParent.
This commit is contained in:
Anders Schack-Mulligen
2021-04-14 10:49:33 +02:00
committed by GitHub

View File

@@ -1808,7 +1808,7 @@ class WildcardTypeAccess extends Expr, @wildcardtypeaccess {
* This includes method calls, constructor and super constructor invocations,
* and constructors invoked through class instantiation.
*/
class Call extends Top, @caller {
class Call extends ExprParent, @caller {
/** Gets an argument supplied in this call. */
/*abstract*/ Expr getAnArgument() { none() }