| Index: test/dart_codegen/expect/core/exceptions.dart
|
| diff --git a/test/dart_codegen/expect/core/exceptions.dart b/test/dart_codegen/expect/core/exceptions.dart
|
| index c79ff0c5486b054f6096f76e30024b8b11c1c0c0..f1d78637a2d539765a2547edd1fface7ce5b5eb2 100644
|
| --- a/test/dart_codegen/expect/core/exceptions.dart
|
| +++ b/test/dart_codegen/expect/core/exceptions.dart
|
| @@ -28,7 +28,7 @@ if (offset != -1) {
|
| offset = -1;
|
| }
|
| if (offset == -1) {
|
| -String source = ((__x3) => DDC$RT.cast(__x3, dynamic, String, "CastGeneral", """line 113, column 23 of dart:core/exceptions.dart: """, __x3 is String, true))(this.source);
|
| +String source = ((__x4) => DDC$RT.cast(__x4, dynamic, String, "CastGeneral", """line 113, column 23 of dart:core/exceptions.dart: """, __x4 is String, true))(this.source);
|
| if (source.length > 78) {
|
| source = source.substring(0, 75) + "...";
|
| }
|
| @@ -40,7 +40,7 @@ String source = ((__x3) => DDC$RT.cast(__x3, dynamic, String, "CastGeneral", """
|
| for (int i = 0;
|
| i < offset;
|
| i++) {
|
| -int char = ((__x4) => DDC$RT.cast(__x4, dynamic, int, "CastGeneral", """line 123, column 18 of dart:core/exceptions.dart: """, __x4 is int, true))(source.codeUnitAt(i));
|
| +int char = ((__x5) => DDC$RT.cast(__x5, dynamic, int, "CastGeneral", """line 123, column 18 of dart:core/exceptions.dart: """, __x5 is int, true))(source.codeUnitAt(i));
|
| if (char == 0x0a) {
|
| if (lineStart != i || !lastWasCR) {
|
| lineNum++;
|
| @@ -66,7 +66,7 @@ report += " (at character ${offset + 1}
|
| for (int i = offset;
|
| i < source.length;
|
| i++) {
|
| -int char = ((__x5) => DDC$RT.cast(__x5, dynamic, int, "CastGeneral", """line 143, column 18 of dart:core/exceptions.dart: """, __x5 is int, true))(source.codeUnitAt(i));
|
| +int char = ((__x6) => DDC$RT.cast(__x6, dynamic, int, "CastGeneral", """line 143, column 18 of dart:core/exceptions.dart: """, __x6 is int, true))(source.codeUnitAt(i));
|
| if (char == 0x0a || char == 0x0d) {
|
| lineEnd = i;
|
| break;
|
| @@ -93,7 +93,7 @@ start = offset - 36;
|
| prefix = postfix = "...";
|
| }
|
| }
|
| - String slice = ((__x6) => DDC$RT.cast(__x6, dynamic, String, "CastGeneral", """line 171, column 20 of dart:core/exceptions.dart: """, __x6 is String, true))(source.substring(start, end));
|
| + String slice = ((__x7) => DDC$RT.cast(__x7, dynamic, String, "CastGeneral", """line 171, column 20 of dart:core/exceptions.dart: """, __x7 is String, true))(source.substring(start, end));
|
| int markOffset = offset - start + prefix.length;
|
| return "$report$prefix$slice$postfix\n${" " * markOffset}
|
| ^\n";
|
|
|