Skip to content

Condense parameter types (part 2)

Warren Gifford requested to merge sourcegraph/campaign-2 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]](:[[p1]] :[t1.], :[[p2]] :[t1.], :[rest])",
    "rewriteTemplate": "func :[[fn]](:[[p1]], :[[p2]] :[t1.], :[rest])",
    "scopeQuery": "repo:github.com/sourcegraph lang:go"
}

Merge request reports

Loading