Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(766)

Unified Diff: pkg/kernel/lib/ast.dart

Issue 2940283002: [kernel] Fix assert message. (Closed)
Patch Set: Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: pkg/kernel/lib/ast.dart
diff --git a/pkg/kernel/lib/ast.dart b/pkg/kernel/lib/ast.dart
index eb988a582c60476921b12ad5dee5ed133606e031..9710ebae31411ac902875d92ef6f435c90e47a31 100644
--- a/pkg/kernel/lib/ast.dart
+++ b/pkg/kernel/lib/ast.dart
@@ -3161,6 +3161,8 @@ class EmptyStatement extends Statement {
class AssertStatement extends Statement {
Expression condition;
Expression message; // May be null.
+ int conditionStartOffset;
+ int conditionEndOffset;
AssertStatement(this.condition, [this.message]) {
ahe 2017/06/16 07:41:51 Make message a named argument and the offsets as n
jensj 2017/06/16 07:43:29 Will do.
condition?.parent = this;

Powered by Google App Engine
This is Rietveld 408576698