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

Unified Diff: tests/compiler/dart2js_extra/mirror_test.dart

Issue 11770004: Rename Date to DateTime. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Address comments and keep Backwards-compatibility class Date. Created 7 years, 11 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
« no previous file with comments | « sdk/lib/io/timer_impl.dart ('k') | tests/corelib/core_runtime_types_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/compiler/dart2js_extra/mirror_test.dart
diff --git a/tests/compiler/dart2js_extra/mirror_test.dart b/tests/compiler/dart2js_extra/mirror_test.dart
index 2595bf4d25a8d4eda43c4ecdbfd560951cef38e0..0cc6b01b7207a2a43183c429d3f566152eb60034 100644
--- a/tests/compiler/dart2js_extra/mirror_test.dart
+++ b/tests/compiler/dart2js_extra/mirror_test.dart
@@ -7,7 +7,7 @@ import 'dart:mirrors';
import 'async_helper.dart';
void test(void onDone(bool success)) {
- var now = new Date.now();
+ var now = new DateTime.now();
InstanceMirror mirror = reflect(now);
print('now: ${now}');
print('mirror.type: ${mirror.type}');
« no previous file with comments | « sdk/lib/io/timer_impl.dart ('k') | tests/corelib/core_runtime_types_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698