Index: src/cmd/gofix/httpfs.go |
=================================================================== |
--- a/src/cmd/gofix/httpfs.go |
+++ b/src/cmd/gofix/httpfs.go |
@@ -40,7 +40,7 @@ |
dir, prefix := call.Args[0], call.Args[1] |
call.Args = []ast.Expr{&ast.CallExpr{ |
Fun: &ast.SelectorExpr{ast.NewIdent("http"), ast.NewIdent("Dir")}, |
- Args: []ast.Expr{dir}, |
+ Args: {dir}, |
gri
2011/12/02 23:11:05
I'd leave this file alone - no real win
|
}} |
wrapInStripHandler := true |
if prefixLit, ok := prefix.(*ast.BasicLit); ok { |