55df0ca4d6
Fixes https://github.com/dart-lang/sdk/issues/55107 The lack of parentheses around the ternary operator made the check invalid when there are members that aren't constructors in the extension type. Change-Id: I87ce918c478113f682d3df28f148b7f59d4fd075 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/355883 Reviewed-by: Sigmund Cherem <sigmund@google.com> Commit-Queue: Srujan Gaddam <srujzs@google.com>