[kernel] Remove references to DispatchCategory

DispatchCategory was removed in 74cf86cb.

Change-Id: Id5fa7710d7cd68d6004360bee90ac342c5f90583
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/273400
Commit-Queue: Ömer Ağacan <omersa@google.com>
Reviewed-by: Johnni Winther <johnniwinther@google.com>
This commit is contained in:
Ömer Sinan Ağacan 2022-12-02 18:19:36 +00:00 committed by Commit Queue
parent 393451a37a
commit a1a942f960

View file

@ -2510,8 +2510,7 @@ class Field extends Member {
/// Indicates whether the implicit setter associated with this field needs to
/// contain a runtime type check to deal with generic covariance.
///
/// When `true`, runtime checks may need to be performed; see
/// [DispatchCategory] for details.
/// When `true`, runtime checks may need to be performed.
bool get isCovariantByClass => flags & FlagCovariantByClass != 0;
/// Whether the field is declared with the `late` keyword.
@ -11153,8 +11152,7 @@ class VariableDeclaration extends Statement implements Annotatable {
/// whether the method implementation needs to contain a runtime type check to
/// deal with generic covariance.
///
/// When `true`, runtime checks may need to be performed; see
/// [DispatchCategory] for details.
/// When `true`, runtime checks may need to be performed.
// TODO(johnniwinther): Rename to isCovariantByClass
bool get isCovariantByClass => flags & FlagCovariantByClass != 0;
@ -13518,8 +13516,7 @@ class TypeParameter extends TreeNode implements Annotatable {
/// whether the method implementation needs to contain a runtime type check to
/// deal with generic covariance.
///
/// When `true`, runtime checks may need to be performed; see
/// [DispatchCategory] for details.
/// When `true`, runtime checks may need to be performed.
bool get isCovariantByClass => flags & FlagCovariantByClass != 0;
void set isCovariantByClass(bool value) {