Chromium Code Reviews| Index: tool/input_sdk/private/ddc_runtime/types.dart |
| diff --git a/tool/input_sdk/private/ddc_runtime/types.dart b/tool/input_sdk/private/ddc_runtime/types.dart |
| index 2511b40777e2362c2c6585eb821a0b4ed9b78bc4..aaaa265752c3a617732db3a0dbbf41f033a35208 100644 |
| --- a/tool/input_sdk/private/ddc_runtime/types.dart |
| +++ b/tool/input_sdk/private/ddc_runtime/types.dart |
| @@ -73,6 +73,8 @@ class WrappedType extends TypeRep { |
| final _runtimeType; |
| WrappedType(this._runtimeType); |
| toString() => typeName(_runtimeType); |
| + |
| + unwrapped() => _runtimeType; |
|
Bob Nystrom
2016/05/17 21:55:49
I think this should probably be a top level functi
|
| } |
| final AbstractFunctionType = JS('', ''' |
| @@ -288,7 +290,7 @@ final FunctionType = JS('', ''' |
| for (var i = 0; i < array.length; ++i) { |
| var arg = array[i]; |
| if (arg instanceof Array) { |
| - metadata.push(arg[1]); |
| + metadata.push(arg.slice(1)); |
| result.push(arg[0]); |
| } else { |
| metadata.push([]); |