Index: pkg/polymer_expressions/lib/eval.dart |
diff --git a/pkg/polymer_expressions/lib/eval.dart b/pkg/polymer_expressions/lib/eval.dart |
index 2332cf908f6f276aea268197cba996be800abaa3..298318347762032e9d774b0362607dffdef2d198 100644 |
--- a/pkg/polymer_expressions/lib/eval.dart |
+++ b/pkg/polymer_expressions/lib/eval.dart |
@@ -150,7 +150,7 @@ void assign(Expression expr, Object value, Scope scope) { |
* searches for the name in local variables, then in global variables, |
* and then finally looks up the name as a property in the model. |
*/ |
-abstract class Scope implements Indexable<String, Object> { |
+abstract class Scope { |
Scope._(); |
/** Create a scope containing a [model] and all of [variables]. */ |
@@ -168,11 +168,7 @@ abstract class Scope implements Indexable<String, Object> { |
* we return the [model]. For any other name, this finds the first variable |
* matching [name] or, if none exists, the property [name] in the [model]. |
*/ |
- Object operator [](String name); |
- |
- operator []=(String name, Object value) { |
- throw new UnsupportedError('[]= is not supported in Scope.'); |
- } |
+ Object operator[](String name); |
/** |
* Returns whether [name] is defined in [model], that is, a lookup |