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

Unified Diff: sdk/lib/core/annotations.dart

Issue 54473002: Add types to annotation constants. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 2 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/core/annotations.dart
diff --git a/sdk/lib/core/annotations.dart b/sdk/lib/core/annotations.dart
index f7c412c060740f147415b07263da21361ad97fe7..68ba572554f14954dccaeee6cd2721b138dc9520 100644
--- a/sdk/lib/core/annotations.dart
+++ b/sdk/lib/core/annotations.dart
@@ -79,7 +79,7 @@ class _Override {
/**
* Marks a feature as [Deprecated] until the next release.
*/
-const deprecated = const Deprecated("next release");
+const Deprecated deprecated = const Deprecated("next release");
/*
* The annotation `@override` marks an instance member as overriding a
@@ -106,7 +106,7 @@ const deprecated = const Deprecated("next release");
* For example, the annotation is intentionally not used in the Dart platform
* libraries, since they only depend on themselves.
*/
-const override = const _Override();
+const Object override = const _Override();
class _Proxy {
const _Proxy();
@@ -130,4 +130,4 @@ class _Proxy {
* The intent of the `@proxy` notation is to avoid irrelevant warnings when
* a class implements its interface through `noSuchMethod`.
*/
-const proxy = const _Proxy();
+const Object proxy = const _Proxy();
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698