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

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

Issue 8523034: Compile Time Constants cycle check (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Added new test to exercise code that was throwing ICE Created 9 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/ast/DartExpression.java
diff --git a/compiler/java/com/google/dart/compiler/ast/DartExpression.java b/compiler/java/com/google/dart/compiler/ast/DartExpression.java
index 5a784ebb8bc702e57da52478b862b0b478827607..5bc6727bf5e1d8069c153e9e97b7b1eba02839bf 100644
--- a/compiler/java/com/google/dart/compiler/ast/DartExpression.java
+++ b/compiler/java/com/google/dart/compiler/ast/DartExpression.java
@@ -4,13 +4,11 @@
package com.google.dart.compiler.ast;
-import com.google.dart.compiler.type.Type;
/**
* Abstract base class for Dart expressions.
*/
public abstract class DartExpression extends DartNode {
- Type type;
public boolean isAssignable() {
// By default you cannot assign to expressions.
@@ -21,14 +19,4 @@ public abstract class DartExpression extends DartNode {
public DartExpression getNormalizedNode() {
return (DartExpression) super.getNormalizedNode();
}
-
- @Override
- public void setType(Type type) {
- this.type = type;
- }
-
- @Override
- public Type getType() {
- return type;
- }
}

Powered by Google App Engine
This is Rietveld 408576698