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 8b7703511741cd8c8d0a68f371b76fe9c892bd0c..244a603a082c32421564a9e94fe32254c4de9285 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 |
@@ -4,34 +4,40 @@ |
part of dart._runtime; |
throwCastError(object, actual, type) => JS('', '''(() => { |
+ debugger; |
$throw_(new $CastErrorImplementation($object, |
$typeName($actual), |
$typeName($type))); |
})()'''); |
throwTypeError(object, actual, type) => JS('', '''(() => { |
+ debugger; |
$throw_(new $TypeErrorImplementation($object, |
$typeName($actual), |
$typeName($type))); |
})()'''); |
throwStrongModeCastError(object, actual, type) => JS('', '''(() => { |
+ debugger; |
$throw_(new $StrongModeCastError($object, |
$typeName($actual), |
$typeName($type))); |
})()'''); |
throwStrongModeTypeError(object, actual, type) => JS('', '''(() => { |
+ debugger; |
$throw_(new $StrongModeTypeError($object, |
$typeName($actual), |
$typeName($type))); |
})()'''); |
throwUnimplementedError(message) => JS('', '''(() => { |
+ debugger; |
$throw_(new $UnimplementedError($message)); |
})()'''); |
throwAssertionError() => JS('', '''(() => { |
+ debugger; |
$throw_(new $AssertionError()); |
})()'''); |
@@ -39,6 +45,7 @@ throwNullValueError() => JS('', '''(() => { |
// TODO(vsm): Per spec, we should throw an NSM here. Technically, we ought |
// to thread through method info, but that uglifies the code and can't |
// actually be queried ... it only affects how the error is printed. |
+ debugger; |
$throw_(new $NoSuchMethodError(null, |
new $Symbol('<Unexpected Null Value>'), null, null, null)); |
})()'''); |