Index: runtime/lib/date.cc |
=================================================================== |
--- runtime/lib/date.cc (revision 3261) |
+++ runtime/lib/date.cc (working copy) |
@@ -1,4 +1,4 @@ |
-// Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
+// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
// for details. All rights reserved. Use of this source code is governed by a |
// BSD-style license that can be found in the LICENSE file. |
@@ -40,7 +40,8 @@ |
intptr_t year = smi_years.Value() - 1900; |
// TODO(floitsch): We don't handle the case yet where intptr_t and int have |
// different sizes. |
- ASSERT(sizeof(year) <= sizeof(broken_down.year)); |
+ // See issue 1143. |
+ // ASSERT(sizeof(year) <= sizeof(broken_down.year)); |
broken_down.year = year; |
// libc months are 0-based (contrary to Dart' 1-based months). |
broken_down.month = dart_month.Value() - 1; |