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

Unified Diff: lib/src/multi_package_resolver.dart

Issue 1228063003: fix for 1.12.0-dev SDK and 0.25.1 analyzer breaking changes (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Created 5 years, 5 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: lib/src/multi_package_resolver.dart
diff --git a/lib/src/multi_package_resolver.dart b/lib/src/multi_package_resolver.dart
index 5851c377de098ea235c6e70e7acb2f1df75bb6c4..c4ffbb6c278293007cf11e9b79caafe8a60b3da0 100644
--- a/lib/src/multi_package_resolver.dart
+++ b/lib/src/multi_package_resolver.dart
@@ -26,7 +26,7 @@ class MultiPackageResolver extends UriResolver {
for (var path in candidates) {
var resolvedPath = _resolve(path);
if (resolvedPath != null) {
- return new FileBasedSource.con2(uri, new JavaFile(resolvedPath));
+ return new FileBasedSource(new JavaFile(resolvedPath), uri);
}
}
return null;

Powered by Google App Engine
This is Rietveld 408576698