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

Unified Diff: test/dart_codegen/expect/core/exceptions.dart

Issue 967933005: rename ddc -> dev_compiler, fixes #84 (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Created 5 years, 10 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
« no previous file with comments | « test/dart_codegen/expect/core/errors.dart ('k') | test/dart_codegen/expect/core/iterable.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 03dade24f04f355dfc51ebc9486ed6c46a7095e3..68619d1821eb9b9384142511a6c74c06797352cd 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 = ((__x4) => DDC$RT.cast(__x4, dynamic, String, "CastGeneral", """line 113, column 23 of dart:core/exceptions.dart: """, __x4 is String, true))(this.source);
+String source = ((__x4) => DEVC$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) + "...";
}
@@ -38,7 +38,7 @@ String source = ((__x4) => DDC$RT.cast(__x4, dynamic, String, "CastGeneral", """
int lineStart = 0;
bool lastWasCR;
for (int i = 0; i < offset; 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));
+int char = ((__x5) => DEVC$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++;
@@ -58,9 +58,9 @@ report += " (at line $lineNum, character ${offset - lineStart + 1})\n";
else {
report += " (at character ${offset + 1})\n";
}
- int lineEnd = DDC$RT.cast(source.length, dynamic, int, "CastGeneral", """line 141, column 19 of dart:core/exceptions.dart: """, source.length is int, true);
+ int lineEnd = DEVC$RT.cast(source.length, dynamic, int, "CastGeneral", """line 141, column 19 of dart:core/exceptions.dart: """, source.length is int, true);
for (int i = offset; i < source.length; 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));
+int char = ((__x6) => DEVC$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;
@@ -87,7 +87,7 @@ int index = offset - lineStart;
prefix = postfix = "...";
}
}
- 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));
+ String slice = ((__x7) => DEVC$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";
}
« no previous file with comments | « test/dart_codegen/expect/core/errors.dart ('k') | test/dart_codegen/expect/core/iterable.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698