| Index: test/dart_codegen/expect/core/expando.dart
|
| diff --git a/test/dart_codegen/expect/core/expando.dart b/test/dart_codegen/expect/core/expando.dart
|
| index 7afe768f5d8e28256dd5a502e7d5ad2adf37f4b4..00a70510f9e64780fe2a121b8491fffd68d90640 100644
|
| --- a/test/dart_codegen/expect/core/expando.dart
|
| +++ b/test/dart_codegen/expect/core/expando.dart
|
| @@ -1,22 +1,17 @@
|
| part of dart.core;
|
| -
|
| -class Expando<T> {
|
| - final String name;
|
| - Expando([String name]) : this.name = name;
|
| - String toString() => "Expando:$name";
|
| - T operator [](Object object) {
|
| - var values = Primitives.getProperty(object, _EXPANDO_PROPERTY_NAME);
|
| - return ((__x21) => DDC$RT.cast(__x21, dynamic, T, "CastGeneral",
|
| - """line 55, column 12 of dart:core/expando.dart: """, __x21 is T,
|
| - false))(
|
| - (values == null) ? null : Primitives.getProperty(values, _getKey()));
|
| + class Expando<T> {final String name;
|
| + Expando([String name]) : this.name = name;
|
| + String toString() => "Expando:$name";
|
| + T operator [](Object object) {
|
| + var values = Primitives.getProperty(object, _EXPANDO_PROPERTY_NAME);
|
| + return ((__x21) => DDC$RT.cast(__x21, dynamic, T, "CastGeneral", """line 55, column 12 of dart:core/expando.dart: """, __x21 is T, false))((values == null) ? null : Primitives.getProperty(values, _getKey()));
|
| }
|
| - void operator []=(Object object, T value) {
|
| - var values = Primitives.getProperty(object, _EXPANDO_PROPERTY_NAME);
|
| - if (values == null) {
|
| - values = new Object();
|
| - Primitives.setProperty(object, _EXPANDO_PROPERTY_NAME, values);
|
| + void operator []=(Object object, T value) {
|
| + var values = Primitives.getProperty(object, _EXPANDO_PROPERTY_NAME);
|
| + if (values == null) {
|
| + values = new Object();
|
| + Primitives.setProperty(object, _EXPANDO_PROPERTY_NAME, values);
|
| }
|
| - Primitives.setProperty(values, _getKey(), value);
|
| + Primitives.setProperty(values, _getKey(), value);
|
| }
|
| }
|
|
|