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

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

Issue 10459070: Infer also field types in classes and top-level (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Use Type.isInferred() Created 8 years, 7 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 8a10ccb365c0853c7b0373efed2e32205d1abafb..7325b798ef5a4758ac8ad5b36c8c21a4c180d192 100644
--- a/compiler/java/com/google/dart/compiler/resolver/Elements.java
+++ b/compiler/java/com/google/dart/compiler/resolver/Elements.java
@@ -195,9 +195,6 @@ public class Elements {
((AbstractNodeElement) element).setType(type);
}
- public static void setTypeInferred(VariableElement element, boolean inferred) {
- ((VariableElementImplementation)element).setTypeInferred(inferred);
- }
static FieldElementImplementation fieldFromNode(DartField node,
EnclosingElement holder,
Modifiers modifiers) {

Powered by Google App Engine
This is Rietveld 408576698