Skip to content

Comments

as_flags_value is broken#64

Closed
iainlane wants to merge 2 commits intoximion:masterfrom
iainlane:master
Closed

as_flags_value is broken#64
iainlane wants to merge 2 commits intoximion:masterfrom
iainlane:master

Conversation

@iainlane
Copy link
Contributor

@iainlane iainlane commented Aug 17, 2016

Not sure what you intended here - but the test case doesn't pass, and it doesn't work in asgen either. The values get shifted twice, which means the test never works.

This fixes it for me, but if you had something else in mind then please do that instead. The second commit is just a typo fix.

@iainlane iainlane changed the title as as_flags_value is broken Aug 17, 2016
@ximion
Copy link
Owner

ximion commented Aug 17, 2016

Hmm, the tests definitely didn't fail (CI approves), but this is an error regardless.
I copied those lines from PackageKit, and PKs PkBitfields are special in some regards.

(Fixed now in master, by dropping the _value method)

@ximion ximion closed this in 4225acf Aug 17, 2016
ximion added a commit that referenced this pull request Aug 17, 2016
Fix it by removing it

(Thanks to Iain Lane for spotting this error in  #64)

Resolves:  #64
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.

2 participants