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

Unified Diff: pkg/analysis_server/lib/src/package_uri_resolver.dart

Issue 348673002: New analyzer snapshot. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 6 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
Index: pkg/analysis_server/lib/src/package_uri_resolver.dart
diff --git a/pkg/analysis_server/lib/src/package_uri_resolver.dart b/pkg/analysis_server/lib/src/package_uri_resolver.dart
index 7df9850338c3395628805b3e51cef014b88dbc42..7328652571d0a4ec0bddbc2acdba93a94b2245d5 100644
--- a/pkg/analysis_server/lib/src/package_uri_resolver.dart
+++ b/pkg/analysis_server/lib/src/package_uri_resolver.dart
@@ -39,7 +39,7 @@ class PackageMapUriResolver extends UriResolver {
@override
Source fromEncoding(UriKind kind, Uri uri) {
- if (kind == UriKind.PACKAGE_SELF_URI || kind == UriKind.PACKAGE_URI) {
+ if (kind == UriKind.PACKAGE_URI) {
Resource resource = resourceProvider.getResource(uri.path);
if (resource is File) {
return resource.createSource(kind);

Powered by Google App Engine
This is Rietveld 408576698