6225aade99
The previous set of tests missed two cases: - a primary constructor with a private named parameter - constructors introduced by `new` The latter had some bugs, which are fixed in this CL. Change-Id: I872a3948dd1b0f791dbea1354c8377e83048e618 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/484227 Reviewed-by: Samuel Rawlins <srawlins@google.com> Commit-Queue: Brian Wilkerson <brianwilkerson@google.com>