Index: pkg/analyzer/lib/src/string_source.dart |
diff --git a/pkg/analyzer/lib/src/string_source.dart b/pkg/analyzer/lib/src/string_source.dart |
index 24d55c1fb31f389d56f7b632abc6201f70d7df78..0b7080ec28a695658f886bfcf3d70c89a796414c 100644 |
--- a/pkg/analyzer/lib/src/string_source.dart |
+++ b/pkg/analyzer/lib/src/string_source.dart |
@@ -40,6 +40,10 @@ class StringSource implements Source { |
bool get isInSystemLibrary => false; |
- Source resolveRelative(Uri relativeUri) => throw new UnsupportedError( |
+ @override |
+ Uri get uri => throw new UnsupportedError( |
+ "StringSource doesn't support uri."); |
+ |
+ Uri resolveRelative(Uri relativeUri) => throw new UnsupportedError( |
"StringSource doesn't support resolveRelative."); |
} |