[kernel] Clarify AssertStatement offset fields
Say what those offsets are for, instead of what they're not for. Change-Id: Ia8d0ef119386188d6d880a480d609bb7a324df8e Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/360643 Reviewed-by: Jens Johansen <jensj@google.com> Commit-Queue: Ömer Ağacan <omersa@google.com>
This commit is contained in:
committed by
Commit Queue
parent
555e38db9b
commit
03ce44cfbb
@@ -9360,14 +9360,12 @@ class AssertStatement extends Statement {
|
||||
Expression condition;
|
||||
Expression? message; // May be null.
|
||||
|
||||
/// Character offset in the source where the assertion condition begins.
|
||||
///
|
||||
/// Note: This is not the offset into the UTF8 encoded `List<int>` source.
|
||||
/// Character offset in the source ([Source.text]) where the assertion
|
||||
/// condition begins.
|
||||
int conditionStartOffset;
|
||||
|
||||
/// Character offset in the source where the assertion condition ends.
|
||||
///
|
||||
/// Note: This is not the offset into the UTF8 encoded `List<int>` source.
|
||||
/// Character offset in the source ([Source.text]) where the assertion
|
||||
/// condition ends.
|
||||
int conditionEndOffset;
|
||||
|
||||
@override
|
||||
|
||||
Reference in New Issue
Block a user