We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
For gopatch, currently the following are different:
var foo = 42 var ( foo = 42 )
gopatch should understand decl groupings for types, consts, vars, and funcs so that these are treated as equivalent.
Ideally it should also understand which of those groupings are unordered so the following are considered equivalent by a patch.
type ( Foo struct{} Bar struct{} ) type ( Bar struct{} Foo struct{} )
The text was updated successfully, but these errors were encountered:
@abhinav, did you mean to say these are considered equivalent:
instead of:
type ( Foo struct{} Bar struct{} ) type ( Foo struct{} Bar struct{} )
Sorry, something went wrong.
Hey @sywhang. Yeah, I meant the first case, but what's different between the two versions in the second case?
The second struct has "Bar" before "Foo" whereas the example structs in the issue are completely identical structs 😁
Derp. My bad. Fixing.
No branches or pull requests
For gopatch, currently the following are different:
gopatch should understand decl groupings for types, consts, vars, and funcs so that these are treated as equivalent.
Ideally it should also understand which of those groupings are unordered so the following are considered equivalent by a patch.
The text was updated successfully, but these errors were encountered: