Skip to content

Condense parameter types

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

Created by: rvantonder

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

Example

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

See merge history for this PR for the other parts.

Merge request reports

Loading