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

Unified Diff: pkg/analyzer/lib/src/summary/package_bundle_reader.dart

Issue 2503803003: Revert "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
« no previous file with comments | « pkg/analyzer/lib/src/string_source.dart ('k') | pkg/analyzer/lib/src/task/html.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analyzer/lib/src/summary/package_bundle_reader.dart
diff --git a/pkg/analyzer/lib/src/summary/package_bundle_reader.dart b/pkg/analyzer/lib/src/summary/package_bundle_reader.dart
index 4c6580b027b9ffd26aeb617098a5677c862c26f3..23645da1d89ae9620ec7da0ab37b2d135aaa4d67 100644
--- a/pkg/analyzer/lib/src/summary/package_bundle_reader.dart
+++ b/pkg/analyzer/lib/src/summary/package_bundle_reader.dart
@@ -21,7 +21,6 @@ import 'package:analyzer/task/dart.dart';
import 'package:analyzer/task/general.dart';
import 'package:analyzer/task/model.dart';
import 'package:path/path.dart' as pathos;
-import 'package:source_span/source_span.dart' as source_span;
/**
* The [ResultProvider] that provides results from input package summaries.
@@ -106,10 +105,6 @@ class InSummarySource extends Source {
String get shortName => pathos.basename(fullName);
@override
- source_span.SourceFile get sourceFile =>
- throw new StateError('Tried to get location info for InSummarySource');
-
- @override
UriKind get uriKind => UriKind.PACKAGE_URI;
@override
« no previous file with comments | « pkg/analyzer/lib/src/string_source.dart ('k') | pkg/analyzer/lib/src/task/html.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698