Skip to content

Commit 9916a2f

Browse files
committed
Relates #367: update unparam
$ git cherry -v cc9d2fb52971 fbb59629db34 + 7362051ae01a0e35956c077c3be5505c70edd200 testdata: add more regression tests + a88ca0234e2c3732a53cd49514fb3877a5d9f1f5 properly record which methods implement interfaces + b762b0b27fa23ebbdfc31df1af4097cfd89a17f6 work properly with method wrapper functions + f59bb08c5c7429b88e0c6e2399b12e71e8d950db testdata: consistently use tabs + 46a5101c55d03117b263b4c5161e5d01353311c1 replace more callgraph code with plain SSA + 1679b9996abdc6431c2147a133e5223ebb86ea60 rewrite foo(bar()) code to work without callgraph + 71b5df77c291f8c5ead5f9ff0a69e0eebf3ae5b2 rewrite "called in return" code without callgraph + fc5b1c74f563d4f2f9ee7d91eda648fc7baebf67 check: replace last use of callgraph + 229ad68a599e2622cf9d3bb87a385b158efe736f fix a minor false negative in callExtract + fbb59629db34a0f69275bc336cc8c3a4dd9fbe5d fix up another false negative in testdata
1 parent c1085ef commit 9916a2f

File tree

7 files changed

+261
-607
lines changed

7 files changed

+261
-607
lines changed

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ require (
6161
gopkg.in/yaml.v2 v2.2.1
6262
mvdan.cc/interfacer v0.0.0-20180901003855-c20040233aed
6363
mvdan.cc/lint v0.0.0-20170908181259-adc824a0674b // indirect
64-
mvdan.cc/unparam v0.0.0-20190124213536-cc9d2fb52971
64+
mvdan.cc/unparam v0.0.0-20190124213536-fbb59629db34
6565
sourcegraph.com/sourcegraph/go-diff v0.0.0-20171119081133-3f415a150aec
6666
sourcegraph.com/sqs/pbtypes v0.0.0-20160107090929-4d1b9dc7ffc3 // indirect
6767
)

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -173,8 +173,8 @@ mvdan.cc/interfacer v0.0.0-20180901003855-c20040233aed h1:WX1yoOaKQfddO/mLzdV4wp
173173
mvdan.cc/interfacer v0.0.0-20180901003855-c20040233aed/go.mod h1:Xkxe497xwlCKkIaQYRfC7CSLworTXY9RMqwhhCm+8Nc=
174174
mvdan.cc/lint v0.0.0-20170908181259-adc824a0674b h1:DxJ5nJdkhDlLok9K6qO+5290kphDJbHOQO1DFFFTeBo=
175175
mvdan.cc/lint v0.0.0-20170908181259-adc824a0674b/go.mod h1:2odslEg/xrtNQqCYg2/jCoyKnw3vv5biOc3JnIcYfL4=
176-
mvdan.cc/unparam v0.0.0-20190124213536-cc9d2fb52971 h1:INXoeng6RAblgAds8fdt2cAu1Bs/bgr5zq1fdYcuxMI=
177-
mvdan.cc/unparam v0.0.0-20190124213536-cc9d2fb52971/go.mod h1:H6SUd1XjIs+qQCyskXg5OFSrilMRUkD8ePJpHKDPaeY=
176+
mvdan.cc/unparam v0.0.0-20190124213536-fbb59629db34 h1:B1LAOfRqg2QUyCdzfjf46quTSYUTAK5OCwbh6pljHbM=
177+
mvdan.cc/unparam v0.0.0-20190124213536-fbb59629db34/go.mod h1:H6SUd1XjIs+qQCyskXg5OFSrilMRUkD8ePJpHKDPaeY=
178178
sourcegraph.com/sourcegraph/go-diff v0.0.0-20171119081133-3f415a150aec h1:wAAdENPXC7bE1oxY4VqSDdhaA+XQ8TgQHsZMMnrXjEk=
179179
sourcegraph.com/sourcegraph/go-diff v0.0.0-20171119081133-3f415a150aec/go.mod h1:R09mWeb9JcPbO+A3cYDc11xjz0wp6r9+KnqdqROAoRU=
180180
sourcegraph.com/sqs/pbtypes v0.0.0-20160107090929-4d1b9dc7ffc3 h1:hXy8YsgVLDz5mlngKhNHQhAsAGrSp3dlXZN4b0/4UUI=

vendor/golang.org/x/tools/go/callgraph/callgraph.go

Lines changed: 0 additions & 129 deletions
This file was deleted.

vendor/golang.org/x/tools/go/callgraph/cha/cha.go

Lines changed: 0 additions & 139 deletions
This file was deleted.

0 commit comments

Comments
 (0)