| Index: pkg/compiler/lib/src/js_backend/backend.dart
|
| diff --git a/pkg/compiler/lib/src/js_backend/backend.dart b/pkg/compiler/lib/src/js_backend/backend.dart
|
| index b0f9a82df29609e06f49cf76954fd248cbdd26b8..841e6d89d576e838ddaafa253f329979c6fdcf1f 100644
|
| --- a/pkg/compiler/lib/src/js_backend/backend.dart
|
| +++ b/pkg/compiler/lib/src/js_backend/backend.dart
|
| @@ -3049,6 +3049,13 @@ class JavaScriptResolutionCallbacks extends ResolutionCallbacks {
|
| registerBackendInstantiation(backend.compiler.stringClass, registry);
|
| }
|
|
|
| + void onCompileTimeError(Registry registry, ErroneousElement error) {
|
| + if (backend.compiler.generateCodeWithCompileTimeErrors) {
|
| + // TODO(johnniwinther): This should have its own uncatchable error.
|
| + onThrowRuntimeError(registry);
|
| + }
|
| + }
|
| +
|
| void onSuperNoSuchMethod(Registry registry) {
|
| assert(registry.isForResolution);
|
| registerBackendStaticInvocation(
|
|
|