-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
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
Replace empty interface with any type #4506
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are you certain that these are interchangable and that this does not impact code usage at all?
i.e. if someone has var thingy interface{}
and it is getting or setting something that is now any
will the compiler translate every time without errors?
I'm pretty certain it's fine. It is supposed to be an alias for the other, i.e. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah yes an "=" alias - I missed that
215bb43
to
ca81ae5
Compare
Had to force-push a rebase to fix a merge conflict. Will likely require a re-approval. Sorry |
This only happens if you rebase on top of conflicts though, merging in the develop branch allows the conflict to be resolved plainly in the new commit. Isn't that how we normally merge conflicts? |
Not for me. I have |
Is it possible to avoid them when conflicts are an issue? As you know force push does make the review much harder. |
I can try to remember to force git to add a merge conflict in cases where review is ongoing. But is it really an issue in this case, or similar, where it already has been approved? |
As we would point out to other contributors a force-push (even if the PR has been approved) requires a full re-review as there is no trace of what has changed since the review |
Yeah that's true. I'll have to try to remember to force git to do a merge commit |
Description:
For #3242
Checklist: