Index: pkg/kernel/lib/clone.dart |
diff --git a/pkg/kernel/lib/clone.dart b/pkg/kernel/lib/clone.dart |
index 6ad1936bb5e48445e1ef44aa75c86065605f24d9..1e32f928d0e4ce8d81acbba9566a82e2e4201027 100644 |
--- a/pkg/kernel/lib/clone.dart |
+++ b/pkg/kernel/lib/clone.dart |
@@ -269,8 +269,10 @@ class CloneVisitor extends TreeVisitor { |
} |
visitAssertStatement(AssertStatement node) { |
- return new AssertStatement( |
- clone(node.condition), cloneOptional(node.message)); |
+ return new AssertStatement(clone(node.condition), |
+ conditionStartOffset: node.conditionStartOffset, |
+ conditionEndOffset: node.conditionEndOffset, |
+ message: cloneOptional(node.message)); |
} |
visitLabeledStatement(LabeledStatement node) { |