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

Unified Diff: pkg/compiler/lib/src/common/resolution.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
« no previous file with comments | « no previous file | pkg/compiler/lib/src/inferrer/inferrer_visitor.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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) {}
« no previous file with comments | « no previous file | pkg/compiler/lib/src/inferrer/inferrer_visitor.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698