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

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

Issue 10449038: Issue 3251. Fixes for node type (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: 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/ast/DartPropertyAccess.java
diff --git a/compiler/java/com/google/dart/compiler/ast/DartPropertyAccess.java b/compiler/java/com/google/dart/compiler/ast/DartPropertyAccess.java
index 7a73da1b0d16365c1f1e4cc9b7d63b2156a1d5d1..8eeb7837a5347b9ada6e491c0bb014d30864f14b 100644
--- a/compiler/java/com/google/dart/compiler/ast/DartPropertyAccess.java
+++ b/compiler/java/com/google/dart/compiler/ast/DartPropertyAccess.java
@@ -6,7 +6,6 @@ package com.google.dart.compiler.ast;
import com.google.dart.compiler.resolver.Element;
import com.google.dart.compiler.resolver.NodeElement;
-import com.google.dart.compiler.type.Type;
/**
* Represents a Dart property access expression (a.b).
@@ -15,7 +14,6 @@ public class DartPropertyAccess extends DartExpression {
private DartNode qualifier;
private DartIdentifier name;
- private Type type;
public DartPropertyAccess(DartNode qualifier, DartIdentifier name) {
this.qualifier = becomeParentOf(qualifier);
@@ -54,16 +52,6 @@ public class DartPropertyAccess extends DartExpression {
}
@Override
- public void setType(Type type) {
- this.type = type;
- }
-
- @Override
- public Type getType() {
- return type;
- }
-
- @Override
public void visitChildren(ASTVisitor<?> visitor) {
qualifier.accept(visitor);
name.accept(visitor);

Powered by Google App Engine
This is Rietveld 408576698