Chromium Code Reviews| Index: pkg/dev_compiler/tool/input_sdk/private/ddc_runtime/errors.dart |
| diff --git a/pkg/dev_compiler/tool/input_sdk/private/ddc_runtime/errors.dart b/pkg/dev_compiler/tool/input_sdk/private/ddc_runtime/errors.dart |
| index dfaa87289a5dfd7627c916505da391177ec4472b..474535ada12ba8127ea2f3093cefccf5c286d426 100644 |
| --- a/pkg/dev_compiler/tool/input_sdk/private/ddc_runtime/errors.dart |
| +++ b/pkg/dev_compiler/tool/input_sdk/private/ddc_runtime/errors.dart |
| @@ -88,6 +88,13 @@ throwAssertionError([message]) => JS( |
| $throw_(error); |
| })()'''); |
| +throwCyclicInitializationError([message]) => JS( |
|
Jennifer Messerly
2017/05/05 23:59:15
I know this is the style of all these helpers but
vsm
2017/05/08 17:07:44
Done.
|
| + '', |
| + '''(() => { |
| + if ($_trapRuntimeErrors) debugger; |
| + $throw_(new $CyclicInitializationError($message)); |
| +})()'''); |
| + |
| throwNullValueError() => JS( |
| '', |
| '''(() => { |