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

Unified Diff: dart/lib/compiler/implementation/lib/coreimpl_patch.dart

Issue 10876008: Remove most superfluous getter arguments from dart2js. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 8 years, 4 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
Index: dart/lib/compiler/implementation/lib/coreimpl_patch.dart
diff --git a/dart/lib/compiler/implementation/lib/coreimpl_patch.dart b/dart/lib/compiler/implementation/lib/coreimpl_patch.dart
index 621cde9c6a794110b31654f706108d7ca8d25284..b329a33839cde95845b32145f947b949b0352176 100644
--- a/dart/lib/compiler/implementation/lib/coreimpl_patch.dart
+++ b/dart/lib/compiler/implementation/lib/coreimpl_patch.dart
@@ -35,31 +35,31 @@ patch class DateImplementation {
years, month, day, hour, minute, second, millisecond, isUtc);
}
- patch String get timeZoneName() {
+ patch String get timeZoneName {
if (isUtc) return "UTC";
return Primitives.getTimeZoneName(this);
}
- patch Duration get timeZoneOffset() {
+ patch Duration get timeZoneOffset {
if (isUtc) return new Duration(0);
return new Duration(minutes: Primitives.getTimeZoneOffsetInMinutes(this));
}
- patch int get year() => Primitives.getYear(this);
+ patch int get year => Primitives.getYear(this);
- patch int get month() => Primitives.getMonth(this);
+ patch int get month => Primitives.getMonth(this);
- patch int get day() => Primitives.getDay(this);
+ patch int get day => Primitives.getDay(this);
- patch int get hour() => Primitives.getHours(this);
+ patch int get hour => Primitives.getHours(this);
- patch int get minute() => Primitives.getMinutes(this);
+ patch int get minute => Primitives.getMinutes(this);
- patch int get second() => Primitives.getSeconds(this);
+ patch int get second => Primitives.getSeconds(this);
- patch int get millisecond() => Primitives.getMilliseconds(this);
+ patch int get millisecond => Primitives.getMilliseconds(this);
- patch int get weekday() => Primitives.getWeekday(this);
+ patch int get weekday => Primitives.getWeekday(this);
}
« no previous file with comments | « dart/lib/compiler/implementation/js_backend/native_emitter.dart ('k') | dart/lib/compiler/implementation/lib/io.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698