-
Notifications
You must be signed in to change notification settings - Fork 483
lint: swap IfStmt tests to not skip every other IfStmt in a chain #383
lint: swap IfStmt tests to not skip every other IfStmt in a chain #383
Conversation
This PR (HEAD: 091f8e0) has been imported to Gerrit for code review. Please visit https://go-review.googlesource.com/#/c/lint/+/97256 to see it. Tip: You can toggle comments from me using the |
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.
LGTM
Message from Andrew Bonventre: Patch Set 1: (1 comment) This should have a test added that fails with the old behavior and succeeds with this fix. Please don’t reply on this GitHub thread. Visit golang.org/cl/97256. |
This PR (HEAD: 738b20a) has been imported to Gerrit for code review. Please visit https://go-review.googlesource.com/#/c/lint/+/97256 to see it. Tip: You can toggle comments from me using the |
Message from Marcelo Cantos: Patch Set 2:
Done Please don’t reply on this GitHub thread. Visit golang.org/cl/97256. |
Message from Andrew Bonventre: Patch Set 2: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/97256. |
Message from Gerrit Bot: Uploaded patch set 3: Commit message was updated. Please don’t reply on this GitHub thread. Visit golang.org/cl/97256. |
Message from Gerrit Bot: Uploaded patch set 4: Commit message was updated. Please don’t reply on this GitHub thread. Visit golang.org/cl/97256. |
Message from Andrew Bonventre: Patch Set 4: Code-Review+1 (3 comments) Please don’t reply on this GitHub thread. Visit golang.org/cl/97256. |
Message from Gerrit Bot: Uploaded patch set 5: Commit message was updated. Please don’t reply on this GitHub thread. Visit golang.org/cl/97256. |
Message from Andrew Bonventre: Patch Set 5: (1 comment) Please remember to respond to the comments in Gerrit and mark them as resolved as appropriate. This helps us determine what still needs to be done. Also, remember to publish your drafts via the reply button. Please don’t reply on this GitHub thread. Visit golang.org/cl/97256. |
Message from Marcelo Cantos: Patch Set 5: (4 comments)
All done, I think. Please don’t reply on this GitHub thread. Visit golang.org/cl/97256. |
Message from Andrew Bonventre: Patch Set 5: ping alan Please don’t reply on this GitHub thread. Visit golang.org/cl/97256. |
Message from Alan Donovan: Patch Set 5: Code-Review+2 Please don’t reply on this GitHub thread. Visit golang.org/cl/97256. |
Fixes #382 The fix works by moving the test for ignored nodes after the else-node check. Change-Id: I508c65ec0b49409a5a7340b5fa5ccc1ccd4a4b05 GitHub-Last-Rev: 738b20a GitHub-Pull-Request: #383 Reviewed-on: https://go-review.googlesource.com/97256 Reviewed-by: Alan Donovan <adonovan@google.com>
This PR is being closed because golang.org/cl/97256 has been merged. |
Fixes #382
The fix works by moving the test for ignored nodes after the else-node check.