We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 26d62b4 commit c3533d7Copy full SHA for c3533d7
src/cmd/cover/cover.go
@@ -16,7 +16,6 @@ import (
16
"log"
17
"os"
18
"sort"
19
- "strconv"
20
21
"cmd/internal/edit"
22
"cmd/internal/objabi"
@@ -294,17 +293,6 @@ func (f *File) Visit(node ast.Node) ast.Visitor {
294
293
return f
295
}
296
297
-// unquote returns the unquoted string.
298
-func unquote(s string) string {
299
- t, err := strconv.Unquote(s)
300
- if err != nil {
301
- log.Fatalf("cover: improperly quoted string %q\n", s)
302
- }
303
- return t
304
-}
305
-
306
-var slashslash = []byte("//")
307
308
func annotate(name string) {
309
fset := token.NewFileSet()
310
content, err := ioutil.ReadFile(name)
0 commit comments