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 23645da1d89ae9620ec7da0ab37b2d135aaa4d67..4c6580b027b9ffd26aeb617098a5677c862c26f3 100644 |
--- a/pkg/analyzer/lib/src/summary/package_bundle_reader.dart |
+++ b/pkg/analyzer/lib/src/summary/package_bundle_reader.dart |
@@ -21,6 +21,7 @@ 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. |
@@ -105,6 +106,10 @@ 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 |