a6bc2c3608
This uses MemberLookupResult instead of Builder as the result for BodyBuilderContext.lookupConstructor. This allows for a more precise handling of error cases and avoids reporting cascading error in case of duplicate constructors. Change-Id: I465747883af594870cb0663e80a188e6dd1b552b Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/486202 Commit-Queue: Johnni Winther <johnniwinther@google.com> Reviewed-by: Erik Ernst <eernst@google.com>