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

Unified Diff: lib/src/transformer/transformer.dart

Issue 1667173002: Proper span/asset location for DDC errors in the transformer (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Created 4 years, 10 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 | « lib/src/transformer/error_listener.dart ('k') | test/transformer_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/src/transformer/transformer.dart
diff --git a/lib/src/transformer/transformer.dart b/lib/src/transformer/transformer.dart
index 44a198f8ca44c55863edb471aba736d95d65048c..08a0c2a7e89c66c31f73daf47afc7fae73a8b18b 100644
--- a/lib/src/transformer/transformer.dart
+++ b/lib/src/transformer/transformer.dart
@@ -70,7 +70,7 @@ class DdcTransformer extends AggregateTransformer {
'--runtime-dir',
_fakeRuntimeDir
])),
- reporter: new TransformAnalysisErrorListener(transform.logger),
+ reporter: new TransformAnalysisErrorListener(transform.logger, context),
fileSystem: fileSystem);
for (var asset in inputs) {
« no previous file with comments | « lib/src/transformer/error_listener.dart ('k') | test/transformer_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698