| Index: sdk/lib/_internal/lib/js_rti.dart
|
| diff --git a/sdk/lib/_internal/lib/js_rti.dart b/sdk/lib/_internal/lib/js_rti.dart
|
| index f47c8413268aaa0026e1b6268d174665beb8f454..015283c06fc9c4cca9b2412e96965563f6a9a722 100644
|
| --- a/sdk/lib/_internal/lib/js_rti.dart
|
| +++ b/sdk/lib/_internal/lib/js_rti.dart
|
| @@ -64,10 +64,11 @@ class TypeImpl implements Type {
|
| * representation of type 4 or 5, that is, either a JavaScript array or
|
| * [:null:].
|
| */
|
| -void setRuntimeTypeInfo(Object target, var typeInfo) {
|
| +Object setRuntimeTypeInfo(Object target, var typeInfo) {
|
| assert(isNull(typeInfo) || isJsArray(typeInfo));
|
| // We have to check for null because factories may return null.
|
| if (target != null) JS('var', r'#.$builtinTypeInfo = #', target, typeInfo);
|
| + return target;
|
| }
|
|
|
| /**
|
|
|