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

Unified Diff: test/dart_codegen/expect/math/point.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/math/math ('k') | test/dart_codegen/expect/math/rectangle.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/dart_codegen/expect/math/point.dart
diff --git a/test/dart_codegen/expect/math/point.dart b/test/dart_codegen/expect/math/point.dart
index 0f877179d1b6033ff0407f1164093fd7493ea314..85f7d1feeb50ca527235641f0c422d7ba4731b2a 100644
--- a/test/dart_codegen/expect/math/point.dart
+++ b/test/dart_codegen/expect/math/point.dart
@@ -9,13 +9,13 @@ part of dart.math;
}
int get hashCode => _JenkinsSmiHash.hash2(x.hashCode, y.hashCode);
Point<T> operator +(Point<T> other) {
- return new Point<T>(((__x0) => DDC$RT.cast(__x0, num, T, "CastGeneral", """line 37, column 25 of dart:math/point.dart: """, __x0 is T, false))(x + other.x), ((__x1) => DDC$RT.cast(__x1, num, T, "CastGeneral", """line 37, column 38 of dart:math/point.dart: """, __x1 is T, false))(y + other.y));
+ return new Point<T>(((__x0) => DEVC$RT.cast(__x0, num, T, "CastGeneral", """line 37, column 25 of dart:math/point.dart: """, __x0 is T, false))(x + other.x), ((__x1) => DEVC$RT.cast(__x1, num, T, "CastGeneral", """line 37, column 38 of dart:math/point.dart: """, __x1 is T, false))(y + other.y));
}
Point<T> operator -(Point<T> other) {
- return new Point<T>(((__x2) => DDC$RT.cast(__x2, num, T, "CastGeneral", """line 46, column 25 of dart:math/point.dart: """, __x2 is T, false))(x - other.x), ((__x3) => DDC$RT.cast(__x3, num, T, "CastGeneral", """line 46, column 38 of dart:math/point.dart: """, __x3 is T, false))(y - other.y));
+ return new Point<T>(((__x2) => DEVC$RT.cast(__x2, num, T, "CastGeneral", """line 46, column 25 of dart:math/point.dart: """, __x2 is T, false))(x - other.x), ((__x3) => DEVC$RT.cast(__x3, num, T, "CastGeneral", """line 46, column 38 of dart:math/point.dart: """, __x3 is T, false))(y - other.y));
}
Point<T> operator *(num factor) {
- return new Point<T>(((__x4) => DDC$RT.cast(__x4, num, T, "CastGeneral", """line 59, column 25 of dart:math/point.dart: """, __x4 is T, false))(x * factor), ((__x5) => DDC$RT.cast(__x5, num, T, "CastGeneral", """line 59, column 37 of dart:math/point.dart: """, __x5 is T, false))(y * factor));
+ return new Point<T>(((__x4) => DEVC$RT.cast(__x4, num, T, "CastGeneral", """line 59, column 25 of dart:math/point.dart: """, __x4 is T, false))(x * factor), ((__x5) => DEVC$RT.cast(__x5, num, T, "CastGeneral", """line 59, column 37 of dart:math/point.dart: """, __x5 is T, false))(y * factor));
}
double get magnitude => sqrt(x * x + y * y);
double distanceTo(Point<T> other) {
@@ -26,6 +26,6 @@ part of dart.math;
T squaredDistanceTo(Point<T> other) {
var dx = x - other.x;
var dy = y - other.y;
- return ((__x6) => DDC$RT.cast(__x6, num, T, "CastGeneral", """line 86, column 12 of dart:math/point.dart: """, __x6 is T, false))(dx * dx + dy * dy);
+ return ((__x6) => DEVC$RT.cast(__x6, num, T, "CastGeneral", """line 86, column 12 of dart:math/point.dart: """, __x6 is T, false))(dx * dx + dy * dy);
}
}
« no previous file with comments | « test/dart_codegen/expect/math/math ('k') | test/dart_codegen/expect/math/rectangle.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698