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

Unified Diff: pkg/compiler/lib/src/resolved_visitor.dart

Issue 1261623002: Add AccessSemantics.INVALID for invalid expressions. (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 5 years, 5 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 | « pkg/compiler/lib/src/resolution/send_structure.dart ('k') | pkg/compiler/lib/src/ssa/builder.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/compiler/lib/src/resolved_visitor.dart
diff --git a/pkg/compiler/lib/src/resolved_visitor.dart b/pkg/compiler/lib/src/resolved_visitor.dart
index dd604179bac1643b01f380777ce0cc49fb9d65ed..5eb6a13bfef40e5171fa078c207409e15429519d 100644
--- a/pkg/compiler/lib/src/resolved_visitor.dart
+++ b/pkg/compiler/lib/src/resolved_visitor.dart
@@ -327,10 +327,13 @@ class ResolvedSemanticDispatcher<R> extends Object
Node node,
String message,
ResolvedKindVisitor<R> visitor) {
- return bulkHandleError(node, visitor);
+ return bulkHandleError(node, null, visitor);
}
- R bulkHandleError(Node node, ResolvedKindVisitor<R> visitor) {
+ R bulkHandleError(
+ Node node,
+ ErroneousElement error,
+ ResolvedKindVisitor<R> visitor) {
if (node.asSendSet() != null) {
return visitor.handleSendSet(node);
} else if (node.asNewExpression() != null) {
« no previous file with comments | « pkg/compiler/lib/src/resolution/send_structure.dart ('k') | pkg/compiler/lib/src/ssa/builder.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698