Chromium Code Reviews| Index: runtime/lib/errors_patch.dart |
| =================================================================== |
| --- runtime/lib/errors_patch.dart (revision 29364) |
| +++ runtime/lib/errors_patch.dart (working copy) |
| @@ -110,6 +110,11 @@ |
| final String _msg; |
| } |
| +patch class CyclicInitializationError { |
|
srdjan
2013/10/28 21:32:02
extends Error (so that it collects full stacktrace
hausner
2013/10/28 21:35:39
The original class declares the super class. This
|
| + static _throwNew(String variableName) { |
| + throw new CyclicInitializationError(variableName); |
| + } |
| +} |
| patch class AbstractClassInstantiationError { |
| AbstractClassInstantiationError._create( |