mirror of
https://github.com/dart-lang/sdk
synced 2024-09-16 00:39:49 +00:00
Mark some other instances of visibleLength/visibleOffset as informative.
These were inadvertenly left out of 84ec7f01c0
.
R=scheglov@google.com
Review URL: https://codereview.chromium.org/2428413003 .
This commit is contained in:
parent
9f0e4e1162
commit
105f568452
|
@ -6970,6 +6970,8 @@ class UnlinkedParamBuilder extends Object with _UnlinkedParamMixin implements id
|
|||
_nameOffset = null;
|
||||
_parameters?.forEach((b) => b.flushInformative());
|
||||
_type?.flushInformative();
|
||||
_visibleLength = null;
|
||||
_visibleOffset = null;
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -6999,8 +7001,6 @@ class UnlinkedParamBuilder extends Object with _UnlinkedParamMixin implements id
|
|||
x?.collectApiSignature(signature);
|
||||
}
|
||||
}
|
||||
signature.addInt(this._visibleLength ?? 0);
|
||||
signature.addInt(this._visibleOffset ?? 0);
|
||||
signature.addBool(this._initializer != null);
|
||||
this._initializer?.collectApiSignature(signature);
|
||||
signature.addInt(this._inheritsCovariantSlot ?? 0);
|
||||
|
@ -9245,6 +9245,8 @@ class UnlinkedVariableBuilder extends Object with _UnlinkedVariableMixin impleme
|
|||
_initializer?.flushInformative();
|
||||
_nameOffset = null;
|
||||
_type?.flushInformative();
|
||||
_visibleLength = null;
|
||||
_visibleOffset = null;
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -9267,8 +9269,6 @@ class UnlinkedVariableBuilder extends Object with _UnlinkedVariableMixin impleme
|
|||
}
|
||||
}
|
||||
signature.addInt(this._inferredTypeSlot ?? 0);
|
||||
signature.addInt(this._visibleLength ?? 0);
|
||||
signature.addInt(this._visibleOffset ?? 0);
|
||||
signature.addBool(this._initializer != null);
|
||||
this._initializer?.collectApiSignature(signature);
|
||||
}
|
||||
|
|
|
@ -2337,12 +2337,14 @@ abstract class UnlinkedParam extends base.SummaryClass {
|
|||
/**
|
||||
* The length of the visible range.
|
||||
*/
|
||||
@informative
|
||||
@Id(10)
|
||||
int get visibleLength;
|
||||
|
||||
/**
|
||||
* The beginning of the visible range.
|
||||
*/
|
||||
@informative
|
||||
@Id(11)
|
||||
int get visibleOffset;
|
||||
}
|
||||
|
@ -2818,12 +2820,14 @@ abstract class UnlinkedVariable extends base.SummaryClass {
|
|||
/**
|
||||
* If a local variable, the length of the visible range; zero otherwise.
|
||||
*/
|
||||
@informative
|
||||
@Id(11)
|
||||
int get visibleLength;
|
||||
|
||||
/**
|
||||
* If a local variable, the beginning of the visible range; zero otherwise.
|
||||
*/
|
||||
@informative
|
||||
@Id(12)
|
||||
int get visibleOffset;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue