Index: runtime/lib/date_patch.dart |
diff --git a/runtime/lib/date_patch.dart b/runtime/lib/date_patch.dart |
index 8e2b8cc04c21303fa0b347ca55067776b197e2cd..349245e7491c074d49280756c487e29e43b3f1a3 100644 |
--- a/runtime/lib/date_patch.dart |
+++ b/runtime/lib/date_patch.dart |
@@ -16,8 +16,8 @@ patch class _DateImpl { |
: this.isUtc = isUtc, |
this.millisecondsSinceEpoch = _brokenDownDateToMillisecondsSinceEpoch( |
year, month, day, hour, minute, second, millisecond, isUtc) { |
- if (millisecondsSinceEpoch === null) throw new ArgumentError(); |
- if (isUtc === null) throw new ArgumentError(); |
+ if (millisecondsSinceEpoch == null) throw new ArgumentError(); |
+ if (isUtc == null) throw new ArgumentError(); |
} |
/* patch */ _DateImpl.now() |