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

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

Issue 10703046: Issue 3753. Support for @deprecated annotation (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Analyze for @deprecated all invocable elements Created 8 years, 6 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: compiler/java/com/google/dart/compiler/resolver/Elements.java
diff --git a/compiler/java/com/google/dart/compiler/resolver/Elements.java b/compiler/java/com/google/dart/compiler/resolver/Elements.java
index 35e0cbff4946dc4e1751632bba8bbbcc782a1bf2..fbfd615b4be2397c853a1f5b224f08cb79063bc2 100644
--- a/compiler/java/com/google/dart/compiler/resolver/Elements.java
+++ b/compiler/java/com/google/dart/compiler/resolver/Elements.java
@@ -20,6 +20,7 @@ import com.google.dart.compiler.ast.DartFunctionExpression;
import com.google.dart.compiler.ast.DartFunctionTypeAlias;
import com.google.dart.compiler.ast.DartIdentifier;
import com.google.dart.compiler.ast.DartLabel;
+import com.google.dart.compiler.ast.DartMetadata;
import com.google.dart.compiler.ast.DartMethodDefinition;
import com.google.dart.compiler.ast.DartNativeBlock;
import com.google.dart.compiler.ast.DartNode;
@@ -216,8 +217,9 @@ public class Elements {
static FieldElementImplementation fieldFromNode(DartField node,
EnclosingElement holder,
+ DartMetadata metadata,
Modifiers modifiers) {
- return FieldElementImplementation.fromNode(node, holder, modifiers);
+ return FieldElementImplementation.fromNode(node, holder, metadata, modifiers);
}
static ClassElement classFromNode(DartClass node, LibraryElement library) {

Powered by Google App Engine
This is Rietveld 408576698