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

Unified Diff: compiler/java/com/google/dart/compiler/ast/DartIdentifier.java

Issue 8231031: Check for compile-time constants in DartCompiler (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Renamed CompileTimeConstTest to CTConst2Test Created 9 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
Index: compiler/java/com/google/dart/compiler/ast/DartIdentifier.java
diff --git a/compiler/java/com/google/dart/compiler/ast/DartIdentifier.java b/compiler/java/com/google/dart/compiler/ast/DartIdentifier.java
index fcd2a515fa429e3e876d80396c77d3036ad0bde0..ce2315698d30b03086973056407d19214a880f76 100644
--- a/compiler/java/com/google/dart/compiler/ast/DartIdentifier.java
+++ b/compiler/java/com/google/dart/compiler/ast/DartIdentifier.java
@@ -50,6 +50,13 @@ public class DartIdentifier extends DartExpression implements ElementReference {
return targetName;
}
+ /**
+ * TODO(zundel): I'm pretty sure getTargetSymbol() is vestigal: getSymbol() is used elsewhere.
floitsch 2011/10/14 14:36:58 Cannot comment on this. Please get Fabio (or someb
+ *
+ * @deprecated use {@link #getSymbol()}
+ * @return
+ */
+ @Deprecated
zundel 2011/10/14 20:59:52 Fabio gave me some background so I added a comment
public Element getTargetSymbol() {
return targetSymbol;
}

Powered by Google App Engine
This is Rietveld 408576698