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

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

Issue 10911325: Normalization of patch signatures. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Long lines fixed. Created 8 years, 3 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: lib/compiler/implementation/lib/coreimpl_patch.dart
diff --git a/lib/compiler/implementation/lib/coreimpl_patch.dart b/lib/compiler/implementation/lib/coreimpl_patch.dart
index b274c6ed4235e79301f2c95424764beb465d3df0..0bddf6b5990f97e29cc6e7dfa9937ccaf830d794 100644
--- a/lib/compiler/implementation/lib/coreimpl_patch.dart
+++ b/lib/compiler/implementation/lib/coreimpl_patch.dart
@@ -85,7 +85,7 @@ patch class ListImplementation<E> {
// TODO(ager): Split out into date_patch.dart and allow #source
// in patch files?
patch class DateImplementation {
- patch DateImplementation(int years,
+ patch DateImplementation(int year,
[int month = 1,
int day = 1,
int hour = 0,
@@ -95,7 +95,7 @@ patch class DateImplementation {
bool isUtc = false])
: this.isUtc = checkNull(isUtc),
millisecondsSinceEpoch = Primitives.valueFromDecomposedDate(
- years, month, day, hour, minute, second, millisecond, isUtc) {
+ year, month, day, hour, minute, second, millisecond, isUtc) {
Primitives.lazyAsJsDate(this);
}
@@ -106,10 +106,10 @@ patch class DateImplementation {
}
patch static int _brokenDownDateToMillisecondsSinceEpoch(
- int years, int month, int day, int hour, int minute, int second,
+ int year, int month, int day, int hour, int minute, int second,
int millisecond, bool isUtc) {
return Primitives.valueFromDecomposedDate(
- years, month, day, hour, minute, second, millisecond, isUtc);
+ year, month, day, hour, minute, second, millisecond, isUtc);
}
patch String get timeZoneName {
« no previous file with comments | « no previous file | lib/compiler/implementation/lib/isolate_patch.dart » ('j') | lib/compiler/implementation/lib/isolate_patch.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698