Chromium Code Reviews| 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 d30b6280fa7028158bad9f2c0091dcf0a7aa13af..913860a3b4aa8b5bf870d628fc1a5a298cbdd95d 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 |
| @@ -509,7 +509,7 @@ stackTrace(exception) => JS('', '''(() => { |
| /// |
| nullSafe(obj, @rest callbacks) => JS('', '''(() => { |
| if ($obj == null) return $obj; |
| - for (const callback of $callbacks) { |
| + for (let callback of $callbacks) { |
|
vsm
2016/09/12 14:47:50
FF isn't happy about const here.
|
| $obj = callback($obj); |
| if ($obj == null) break; |
| } |