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

Unified Diff: compiler/java/com/google/dart/compiler/resolver/Resolver.java

Issue 11316088: Issue 6771. Show @deprecated warning for fields. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 1 month 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: compiler/java/com/google/dart/compiler/resolver/Resolver.java
diff --git a/compiler/java/com/google/dart/compiler/resolver/Resolver.java b/compiler/java/com/google/dart/compiler/resolver/Resolver.java
index c3fd4d8e3549192495551baa81dcecc0389e561d..dcb4704159f488b2b7575580416eb0aebffd455a 100644
--- a/compiler/java/com/google/dart/compiler/resolver/Resolver.java
+++ b/compiler/java/com/google/dart/compiler/resolver/Resolver.java
@@ -1301,6 +1301,7 @@ public class Resolver {
// If we we haven't resolved the identifier, it will be normalized to
// this.<identifier>.
+ checkDeprecated(x, element);
return recordElement(x, element);
}

Powered by Google App Engine
This is Rietveld 408576698