Index: pkg/analyzer_experimental/lib/src/generated/source_io.dart |
diff --git a/pkg/analyzer_experimental/lib/src/generated/source_io.dart b/pkg/analyzer_experimental/lib/src/generated/source_io.dart |
index 3decc7b76c1fbfd5aa220500b46fbfb09b64b1de..e473fc9cc92ac9c7fa185679398647b89b786cce 100644 |
--- a/pkg/analyzer_experimental/lib/src/generated/source_io.dart |
+++ b/pkg/analyzer_experimental/lib/src/generated/source_io.dart |
@@ -234,7 +234,7 @@ class PackageUriResolver extends UriResolver { |
AnalysisEngine.instance.logger.logError2("Canonical failed: ${pkgDir}", e); |
} |
} |
- return new JavaFile.relative(pkgDir, relPath.replaceAll('/', JavaFile.separatorChar)); |
+ return new JavaFile.relative(pkgDir, relPath.replaceAll('/', new String.fromCharCode(JavaFile.separatorChar))); |
} |
} |
/** |