Skip to content
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

Address code review feedback #3475

Merged
merged 1 commit into from
Dec 17, 2015

Conversation

mrtracy
Copy link
Contributor

@mrtracy mrtracy commented Dec 16, 2015

Adjusted a type switch case, added a TODO

Review on Reviewable

@@ -459,6 +459,11 @@ func (gp golangParameters) Arg(name string) (parser.Datum, bool) {
if arg == nil {
return parser.DNull, true
}
// TODO: This type switch has been created primarily for convenience, but
// the fact that multiple integer types are part of the switch is inelegant
// and prone to errors (it has been described as "whack-a-mole".) There is
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

period should come after the closing paren. LGTM

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

@petermattis
Copy link
Collaborator

LGTM

Adjusted a type switch case, added a TODO
mrtracy added a commit that referenced this pull request Dec 17, 2015
@mrtracy mrtracy merged commit 26088f8 into cockroachdb:master Dec 17, 2015
@mrtracy mrtracy deleted the mtracy/code_review_feedback branch December 17, 2015 23:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants