| Index: pkg/dev_compiler/tool/input_sdk/private/ddc_runtime/operations.dart
|
| diff --git a/pkg/dev_compiler/tool/input_sdk/private/ddc_runtime/operations.dart b/pkg/dev_compiler/tool/input_sdk/private/ddc_runtime/operations.dart
|
| index 0e3acaf539e93fd4692da3833e2ab2b24491be9b..cefbefb19e5030b55c82852aaa82e14b3f1bef80 100644
|
| --- a/pkg/dev_compiler/tool/input_sdk/private/ddc_runtime/operations.dart
|
| +++ b/pkg/dev_compiler/tool/input_sdk/private/ddc_runtime/operations.dart
|
| @@ -312,7 +312,8 @@ dsend(obj, method, @rest args) => _callMethod(obj, method, null, args, method);
|
| dgsend(obj, typeArgs, method, @rest args) =>
|
| _callMethod(obj, method, typeArgs, args, method);
|
|
|
| -dindex(obj, index) => _callMethod(obj, '_get', null, JS('', '[#]', index), '[]');
|
| +dindex(obj, index) =>
|
| + _callMethod(obj, '_get', null, JS('', '[#]', index), '[]');
|
|
|
| dsetindex(obj, index, value) =>
|
| _callMethod(obj, '_set', null, JS('', '[#, #]', index, value), '[]=');
|
| @@ -546,10 +547,10 @@ map(values, [K, V]) => JS(
|
| })()''');
|
|
|
| @JSExportName('assert')
|
| -assert_(condition) => JS(
|
| +assert_(condition, [message]) => JS(
|
| '',
|
| '''(() => {
|
| - if (!$condition) $throwAssertionError();
|
| + if (!$condition) $throwAssertionError(message);
|
| })()''');
|
|
|
| var _stack = null;
|
|
|