Index: dart/sdk/lib/_internal/compiler/implementation/tree/nodes.dart |
diff --git a/dart/sdk/lib/_internal/compiler/implementation/tree/nodes.dart b/dart/sdk/lib/_internal/compiler/implementation/tree/nodes.dart |
index d74f51f9c8f0fdcdc084cb4799cfb6defe656e5e..c399cb02fcb7beb7bfa02dfecc0278636d5969b1 100644 |
--- a/dart/sdk/lib/_internal/compiler/implementation/tree/nodes.dart |
+++ b/dart/sdk/lib/_internal/compiler/implementation/tree/nodes.dart |
@@ -319,14 +319,12 @@ abstract class Statement extends Node { |
bool isValidBreakTarget() => true; |
} |
-/// Errorneous expression that behaves as a literal integer (0). |
-class ErrorExpression extends LiteralInt { |
+/// Errorneous expression that behaves as a literal null. |
+class ErrorExpression extends LiteralNull { |
ErrorExpression(token) |
- : super(token, null); |
+ : super(token); |
ErrorExpression asErrorExpression() => this; |
- |
- int get value => 0; |
} |
/** |