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

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

Issue 8786002: Check that interface constructors and default class constructors are compatible. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Check that types of constructors parameters are identical Created 9 years 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: compiler/lib/implementation/date_implementation.dart
diff --git a/compiler/lib/implementation/date_implementation.dart b/compiler/lib/implementation/date_implementation.dart
index 6238a5a6029c15f59f0e87ca27ab0a01da433cc8..6abbe130a8d62a73dc87144240e67600f443fa67 100644
--- a/compiler/lib/implementation/date_implementation.dart
+++ b/compiler/lib/implementation/date_implementation.dart
@@ -26,7 +26,7 @@ class DateImplementation implements Date {
int minutes,
int seconds,
int milliseconds,
- TimeZoneImplementation timeZone)
+ TimeZone timeZone)
: this.timeZone = timeZone,
value = _valueFromDecomposed(years, month, day,
hours, minutes, seconds, milliseconds,
@@ -43,7 +43,7 @@ class DateImplementation implements Date {
value = _valueFromString(formattedString) {
}
- const DateImplementation.fromEpoch(this.value, this.timeZone);
+ const DateImplementation.fromEpoch(int this.value, TimeZone this.timeZone);
bool operator ==(other) {
if (!(other is DateImplementation)) return false;

Powered by Google App Engine
This is Rietveld 408576698