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

Unified Diff: sdk/lib/math/point.dart

Issue 64373004: Remove default values for point. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 1 month 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 | « no previous file | tests/lib/math/point_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/math/point.dart
diff --git a/sdk/lib/math/point.dart b/sdk/lib/math/point.dart
index 37411b77d7eec1700b171512e6245d8db207faff..6c731c1dfd4ee60af6c0a768d1b7ff84179a4e79 100644
--- a/sdk/lib/math/point.dart
+++ b/sdk/lib/math/point.dart
@@ -10,7 +10,7 @@ class Point<T extends num> {
final T x;
final T y;
- const Point([T x = 0, T y = 0]): this.x = x, this.y = y;
+ const Point(T x, T y): this.x = x, this.y = y;
String toString() => 'Point($x, $y)';
« no previous file with comments | « no previous file | tests/lib/math/point_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698