| Index: lib/runtime/dart/core.js
|
| diff --git a/lib/runtime/dart/core.js b/lib/runtime/dart/core.js
|
| index e8aca91215771c4b2d4173bd71cc5cdc4cc6358c..7bbb0a3257301df662ade045adbfa1af7a9f88c4 100644
|
| --- a/lib/runtime/dart/core.js
|
| +++ b/lib/runtime/dart/core.js
|
| @@ -559,10 +559,21 @@ var core;
|
| return _js_helper.Primitives.extractStackTrace(this);
|
| }
|
| }
|
| - class AssertionError extends Error {}
|
| + class AssertionError extends Error {
|
| + AssertionError() {
|
| + super.Error();
|
| + }
|
| + }
|
| class TypeError extends AssertionError {}
|
| - class CastError extends Error {}
|
| + class CastError extends Error {
|
| + CastError() {
|
| + super.Error();
|
| + }
|
| + }
|
| class NullThrownError extends Error {
|
| + NullThrownError() {
|
| + super.Error();
|
| + }
|
| toString() {
|
| return "Throw of null.";
|
| }
|
|
|