Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1804)

Unified Diff: pkg/compiler/lib/src/js_backend/backend.dart

Issue 1306143002: Remove SendResolver.computeSendStructure. (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Fix handling of invalid this access. Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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(
« no previous file with comments | « pkg/compiler/lib/src/inferrer/simple_types_inferrer.dart ('k') | pkg/compiler/lib/src/resolution/members.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698