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

Unified Diff: frog/lib/date_implementation.dart

Issue 9695057: Allow "const ... native" constructors and "const factory ... native" constructors in dartc (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: # Created 8 years, 9 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: frog/lib/date_implementation.dart
diff --git a/frog/lib/date_implementation.dart b/frog/lib/date_implementation.dart
index 12dae7bbe77ed50d3fd8ed590e48b92d2ba3b0fd..d90f1c7eb447542cd6d3b0f48ba6559d6fc5a502 100644
--- a/frog/lib/date_implementation.dart
+++ b/frog/lib/date_implementation.dart
@@ -264,7 +264,7 @@ class DateImplementation implements Date {
static int _now() native "return new Date().valueOf();";
// Lazily keep a JS Date stored in the dart object.
- var _asJs() native '''
+ _asJs() native '''
if (!this.date) {
this.date = new Date(this.value);
}

Powered by Google App Engine
This is Rietveld 408576698