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

Unified Diff: pkg/analyzer/lib/src/task/html.dart

Issue 2498133002: Connect analyzer's AnalysisError object to front_end's CompilationError. (Closed)
Patch Set: Created 4 years, 1 month 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/analyzer/lib/src/task/html.dart
diff --git a/pkg/analyzer/lib/src/task/html.dart b/pkg/analyzer/lib/src/task/html.dart
index 81587b2f4e3aeaaf89fe48e2f2417142c39a8c5f..273680c2c902a411d101fafb8b33470479bb8a5d 100644
--- a/pkg/analyzer/lib/src/task/html.dart
+++ b/pkg/analyzer/lib/src/task/html.dart
@@ -84,6 +84,9 @@ class DartScript implements Source {
String get shortName => source.shortName;
@override
+ SourceFile get sourceFile => source.sourceFile;
+
+ @override
Uri get uri => source.uri
.replace(queryParameters: {'offset': fragments[0].offset.toString()});

Powered by Google App Engine
This is Rietveld 408576698