261e1181be
By changing the type of error nodes to SyntacticEntity, we can use Token objects directly as error nodes, rather than having to wrap them in synthetic identifiers. Change-Id: I29c2fec7007766b8bc6103da835093ea326e939b Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/366420 Commit-Queue: Paul Berry <paulberry@google.com> Reviewed-by: Konstantin Shcheglov <scheglov@google.com> Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>