mirror of
https://github.com/dart-lang/sdk
synced 2024-09-05 16:41:07 +00:00
dart2wasm: prepare for curly_braces lint change
This aligns this code better with Effective Dart and prepares for the upcoming lint rule change at https://dart-review.googlesource.com/c/sdk/+/353140. Change-Id: I96e77d5c49c17fe0dfcbef7e997cb9d634f1e648 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/353201 Reviewed-by: Ömer Ağacan <omersa@google.com> Auto-Submit: Samuel Rawlins <srawlins@google.com> Commit-Queue: Ömer Ağacan <omersa@google.com>
This commit is contained in:
parent
cda9755918
commit
e61f2a0d89
|
@ -131,7 +131,9 @@ class Types {
|
|||
// classes whose supertype is [Object]. The latter case will be handled
|
||||
// directly in the subtype checking algorithm.
|
||||
if (superclassInfo.cls == null ||
|
||||
superclassInfo.cls == coreTypes.objectClass) continue;
|
||||
superclassInfo.cls == coreTypes.objectClass) {
|
||||
continue;
|
||||
}
|
||||
Class superclass = superclassInfo.cls!;
|
||||
|
||||
// TODO(joshualitt): This includes abstract types that can't be
|
||||
|
|
Loading…
Reference in a new issue