Skip to content

Condense parameter types (part 4)

Warren Gifford requested to merge sourcegraph/campaign-4 into sourcegraph/campaign-1

Created by: rvantonder

Condenses equal parameter types. Example: foo(..., bar t, baz t, ...) -> foo(..., bar, baz t, ...)

Created with

{
    "matchTemplate": "func :[[fn]](:[x], :[[p1]] :[t1.], :[[p2]] :[t1.], :[rest])",
    "rewriteTemplate": "func :[[fn]](:[x], :[[p1]], :[[p2]] :[t1.], :[rest])",
    "scopeQuery": "repo:github.com/sourcegraph lang:go"
}

Merge request reports

Loading