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

Unified Diff: tools/dom/templates/html/dart2js/indexed_db_dart2js.darttemplate

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
Index: tools/dom/templates/html/dart2js/indexed_db_dart2js.darttemplate
diff --git a/tools/dom/templates/html/dart2js/indexed_db_dart2js.darttemplate b/tools/dom/templates/html/dart2js/indexed_db_dart2js.darttemplate
index 10b5d3b3af16353ea5e553cbeea7f52120c512dc..be939d054a3d2af5cfa54494d99d4dbd82ec9ff9 100644
--- a/tools/dom/templates/html/dart2js/indexed_db_dart2js.darttemplate
+++ b/tools/dom/templates/html/dart2js/indexed_db_dart2js.darttemplate
@@ -97,7 +97,7 @@ _convertNativeToDart_IDBKey(nativeKey) {
return false; // number, string.
}
if (containsDate(nativeKey)) {
- throw new UnimplementedError('Key containing Date');
+ throw new UnimplementedError('Key containing DateTime');
}
// TODO: Cache conversion somewhere?
return nativeKey;
@@ -124,6 +124,6 @@ _convertNativeToDart_IDBAny(object) {
}
-const String _idbKey = '=List|=Object|num|String'; // TODO(sra): Add Date.
+const String _idbKey = '=List|=Object|num|String'; // TODO(sra): Add DateTime.
const _annotation_Creates_IDBKey = const Creates(_idbKey);
const _annotation_Returns_IDBKey = const Returns(_idbKey);

Powered by Google App Engine
This is Rietveld 408576698