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

Unified Diff: sdk/lib/_internal/dartdoc/bin/dartdoc.dart

Issue 11878015: Default constructor for dart:io Path now handles native Windows paths. Path() now does the same as… (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Don't change tools/version.dart until the binaries are updated. Created 7 years, 11 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: sdk/lib/_internal/dartdoc/bin/dartdoc.dart
diff --git a/sdk/lib/_internal/dartdoc/bin/dartdoc.dart b/sdk/lib/_internal/dartdoc/bin/dartdoc.dart
index 4a5dc1f1839d284b61f3f917222bdb939a929994..092da3375f8c9ece5627d503a3de7427d07d9d2d 100755
--- a/sdk/lib/_internal/dartdoc/bin/dartdoc.dart
+++ b/sdk/lib/_internal/dartdoc/bin/dartdoc.dart
@@ -117,7 +117,7 @@ main() {
'omitted the files are generated into ./docs/',
callback: (outDir) {
if(outDir != null) {
- dartdoc.outputDir = new Path.fromNative(outDir);
+ dartdoc.outputDir = new Path(outDir);
}
});
@@ -164,7 +164,7 @@ main() {
'If omitted the package directory is the SDK pkg/ dir',
callback: (pkgDir) {
if(pkgDir != null) {
- pkgPath = new Path.fromNative(pkgDir);
+ pkgPath = new Path(pkgDir);
}
});
@@ -185,7 +185,7 @@ main() {
// If it is not, then we display a warning, as package imports might fail.
var entrypointRoot;
for(final arg in option.rest) {
- var entrypoint = new Path.fromNative(arg);
+ var entrypoint = new Path(arg);
entrypoints.add(entrypoint);
if (entrypointRoot == null) {
« no previous file with comments | « sdk/lib/_internal/compiler/implementation/filenames.dart ('k') | sdk/lib/_internal/dartdoc/lib/dartdoc.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698