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

Unified Diff: pkg/front_end/lib/src/fasta/target_implementation.dart

Issue 2977013002: Report messages instead of just printing. (Closed)
Patch Set: Update expectations. Created 3 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
Index: pkg/front_end/lib/src/fasta/target_implementation.dart
diff --git a/pkg/front_end/lib/src/fasta/target_implementation.dart b/pkg/front_end/lib/src/fasta/target_implementation.dart
index 200f4d619409e104749927806e8403bc365c5c1e..338380d5f2fc77d32cb9a39f4c2f0be57fe4c0db 100644
--- a/pkg/front_end/lib/src/fasta/target_implementation.dart
+++ b/pkg/front_end/lib/src/fasta/target_implementation.dart
@@ -8,6 +8,8 @@ import 'package:kernel/target/targets.dart' as backend show Target;
import 'builder/builder.dart' show Builder, ClassBuilder, LibraryBuilder;
+import 'compiler_context.dart' show CompilerContext;
+
import 'loader.dart' show Loader;
import 'target.dart' show Target;
@@ -22,6 +24,8 @@ abstract class TargetImplementation extends Target {
final backend.Target backendTarget;
+ final CompilerContext context = CompilerContext.current;
+
Builder cachedAbstractClassInstantiationError;
Builder cachedCompileTimeError;
Builder cachedDuplicatedFieldInitializerError;

Powered by Google App Engine
This is Rietveld 408576698