mirror of
https://github.com/dart-lang/sdk
synced 2024-09-16 03:36:59 +00:00
Update AstComparator.visitPatternVariableDeclaration to account for metadata.
Change-Id: Icd875b10088cef17b4a3351591e29b1275900a50 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/273622 Commit-Queue: Paul Berry <paulberry@google.com> Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
This commit is contained in:
parent
05ee431fb4
commit
e7832eba4c
|
@ -1105,6 +1105,7 @@ class AstComparator implements AstVisitor<bool> {
|
|||
var other = _other as PatternVariableDeclaration;
|
||||
return isEqualNodes(
|
||||
node.documentationComment, other.documentationComment) &&
|
||||
_isEqualNodeLists(node.metadata, other.metadata) &&
|
||||
isEqualTokens(node.keyword, other.keyword) &&
|
||||
isEqualNodes(node.pattern, other.pattern) &&
|
||||
isEqualTokens(node.equals, other.equals) &&
|
||||
|
|
Loading…
Reference in a new issue