9b71817072
Parse errors for spec types were being reported twice - once by the containing object (in canParse()), and once by the nested canParse() call for the nested type. This skips reporting the error for nested calls to a canParse() method, which will always report the error itself. Change-Id: I03e4a9638fd6a3fc77eac918f6fd16def93327d6 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/404105 Reviewed-by: Samuel Rawlins <srawlins@google.com> Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>