Skip to content

Commit

Permalink
Version 2.11.0-237.0.dev
Browse files Browse the repository at this point in the history
Merge commit 'f3962367a5e1bda1f77b2102557c14833862e558' into 'dev'
  • Loading branch information
Dart CI committed Oct 20, 2020
2 parents 902538e + f396236 commit fc82eee
Show file tree
Hide file tree
Showing 27 changed files with 3,486 additions and 52 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,16 @@ class ArgumentExpression extends ValueGenerator {
return node.argumentList;
} else if (node is InstanceCreationExpression) {
return node.argumentList;
} else if (node is SimpleIdentifier) {
var parent = node.parent;
if (parent is ConstructorName) {
var grandparent = parent.parent;
if (grandparent is InstanceCreationExpression) {
return grandparent.argumentList;
}
} else if (parent is MethodInvocation && parent.methodName == node) {
return parent.argumentList;
}
} else if (node is TypeArgumentList) {
var parent = node.parent;
if (parent is InvocationExpression) {
Expand Down
Loading

0 comments on commit fc82eee

Please sign in to comment.