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

Regression due to PR #77 #80

Closed
jsouthworth opened this issue Mar 3, 2017 · 0 comments
Closed

Regression due to PR #77 #80

jsouthworth opened this issue Mar 3, 2017 · 0 comments

Comments

@jsouthworth
Copy link
Member

@lucab reports:
I haven't dug much further, but this PR seems to have induced a test regression in go-systemd: coreos/go-systemd#225 (comment).

jsouthworth added a commit to jsouthworth/dbus that referenced this issue Mar 3, 2017
The old algorithm iterated on the destination datastructures. This meant that tricky look ahead was required to handle all cases. By iterating on the source datastructure instead we can vastly simplify the logic for converting a source type into a destination type.

This commit changes the type mismatch errors to indicate the actual problem with the types.

Additional test cases now catch the problems seen by coreos/go-systemd.

Fixes godbus#80
jsouthworth added a commit to jsouthworth/dbus that referenced this issue Mar 3, 2017
The old algorithm iterated on the destination datastructures. This
meant that tricky look ahead was required to handle all cases. By
iterating on the source datastructure instead we can vastly simplify
the logic for converting a source type into a destination type.

This commit changes the type mismatch errors to indicate the actual
problem with the types.

Additional test cases now catch the problems seen by
coreos/go-systemd.

Fixes godbus#80
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

No branches or pull requests

1 participant