Index: pkg/analyzer/lib/src/generated/testing/ast_factory.dart |
diff --git a/pkg/analyzer/lib/src/generated/testing/ast_factory.dart b/pkg/analyzer/lib/src/generated/testing/ast_factory.dart |
index 0393bb6287058a78a2de8779291ae99c1fbf2170..0be2aaa770da609636a2b9856ca468fb69afd43f 100644 |
--- a/pkg/analyzer/lib/src/generated/testing/ast_factory.dart |
+++ b/pkg/analyzer/lib/src/generated/testing/ast_factory.dart |
@@ -622,8 +622,9 @@ class AstFactory { |
parameters, body); |
static MethodInvocation methodInvocation(Expression target, String methodName, |
- [List<Expression> arguments]) => new MethodInvocation(target, |
- target == null ? null : TokenFactory.tokenFromType(TokenType.PERIOD), |
+ [List<Expression> arguments, |
+ TokenType operator = TokenType.PERIOD]) => new MethodInvocation(target, |
+ target == null ? null : TokenFactory.tokenFromType(operator), |
identifier3(methodName), argumentList(arguments)); |
static MethodInvocation methodInvocation2(String methodName, |