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

Use hp.ObjectKind as expression in payload switch #48

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Use hp.ObjectKind as expression in payload switch #48

wants to merge 2 commits into from

Conversation

ntnn
Copy link
Contributor

@ntnn ntnn commented Apr 27, 2017

The second commit, for hp.ObjectKind, requires the first commit to properly exit the switch.

I haven't noticed it before, but at least now, with 9.1.0, all payloads
contain the object_kind member. Hence the PR.

ntnn added 2 commits April 27, 2017 16:31
I haven't noticed it before, but at least now, with 9.1.0, all payloads
contain the `object_kind` member.
@ntnn ntnn changed the title Use break instead of fallthrough to properly exit the switch Use hp.ObjectKind as expression in payload switch Apr 27, 2017
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.

1 participant