| Index: pkg/compiler/lib/src/common/resolution.dart
|
| diff --git a/pkg/compiler/lib/src/common/resolution.dart b/pkg/compiler/lib/src/common/resolution.dart
|
| index 90cdb1db357dea80df2049233bd79ae8279db02c..2f9b8283bc72c0be270e56f9e938645d64e6a588 100644
|
| --- a/pkg/compiler/lib/src/common/resolution.dart
|
| +++ b/pkg/compiler/lib/src/common/resolution.dart
|
| @@ -9,7 +9,8 @@ import '../compiler.dart' show
|
| import '../dart_types.dart' show
|
| DartType;
|
| import '../elements/elements.dart' show
|
| - AstElement;
|
| + AstElement,
|
| + ErroneousElement;
|
| import '../enqueue.dart' show
|
| ResolutionEnqueuer,
|
| WorldImpact;
|
| @@ -94,6 +95,9 @@ class ResolutionCallbacks {
|
| /// Register that the application may throw a [RuntimeError].
|
| void onThrowRuntimeError(Registry registry) {}
|
|
|
| + /// Register that the application has a compile time error.
|
| + void onCompileTimeError(Registry registry, ErroneousElement error) {}
|
| +
|
| /// Register that the application may throw an
|
| /// [AbstractClassInstantiationError].
|
| void onAbstractClassInstantiation(Registry registry) {}
|
|
|