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

Unified Diff: pkg/compiler/lib/src/inferrer/inferrer_visitor.dart

Issue 1030103004: Implement ResolvedVisitor using SemanticSendVisitor. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Cleanups. Created 5 years, 9 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/inferrer/inferrer_visitor.dart
diff --git a/pkg/compiler/lib/src/inferrer/inferrer_visitor.dart b/pkg/compiler/lib/src/inferrer/inferrer_visitor.dart
index 6743561e173517646f5339630409d6a0476fd680..a969baab43bb2fa8244f3963aef6900a984cb7e4 100644
--- a/pkg/compiler/lib/src/inferrer/inferrer_visitor.dart
+++ b/pkg/compiler/lib/src/inferrer/inferrer_visitor.dart
@@ -655,7 +655,7 @@ class LocalsHandler<T> {
}
abstract class InferrerVisitor
- <T, E extends MinimalInferrerEngine<T>> extends ResolvedVisitor<T> {
+ <T, E extends MinimalInferrerEngine<T>> extends NewResolvedVisitor<T> {
final Compiler compiler;
final AstElement analyzedElement;
final TypeSystem<T> types;
@@ -719,7 +719,7 @@ abstract class InferrerVisitor
T visitFunctionExpression(FunctionExpression node);
- T visitAssert(Send node) {
+ T visitAssertSend(Send node) {
if (!compiler.enableUserAssertions) {
return types.nullType;
}
@@ -1229,7 +1229,7 @@ abstract class InferrerVisitor
return null;
}
- void internalError(String reason, {Node node}) {
+ void internalError(Spannable node, String reason) {
compiler.internalError(node, reason);
}

Powered by Google App Engine
This is Rietveld 408576698