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

Unified Diff: pkg/compiler/lib/src/common/resolution.dart

Issue 1383483006: Extract DiagnosticReporter implementation from Compiler. (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Fixes after rebase. Created 5 years, 2 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/closure.dart ('k') | pkg/compiler/lib/src/common/tasks.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 1a998f3f04faff5b36b083c2e4d131722ee93cd0..38b8d5c295be363c1bd1ae3757f297f922b4f6f5 100644
--- a/pkg/compiler/lib/src/common/resolution.dart
+++ b/pkg/compiler/lib/src/common/resolution.dart
@@ -12,7 +12,7 @@ import '../core_types.dart' show
import '../dart_types.dart' show
DartType;
import '../diagnostics/diagnostic_listener.dart' show
- DiagnosticListener;
+ DiagnosticReporter;
import '../elements/elements.dart' show
AstElement,
ClassElement,
@@ -136,7 +136,7 @@ class ResolutionCallbacks {
// TODO(johnniwinther): Rename to `Resolver` or `ResolverContext`.
abstract class Resolution {
Parsing get parsing;
- DiagnosticListener get listener;
+ DiagnosticReporter get reporter;
CoreTypes get coreTypes;
void resolveTypedef(TypedefElement typdef);
@@ -149,7 +149,7 @@ abstract class Resolution {
// TODO(johnniwinther): Rename to `Parser` or `ParsingContext`.
abstract class Parsing {
- DiagnosticListener get listener;
+ DiagnosticReporter get reporter;
void parsePatchClass(ClassElement cls);
measure(f());
}
« no previous file with comments | « pkg/compiler/lib/src/closure.dart ('k') | pkg/compiler/lib/src/common/tasks.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698