-
Notifications
You must be signed in to change notification settings - Fork 12
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
wrong numbering with already numbered fields #18
Comments
@wmark Thanks for reporting this. It is clearly a bug. I won't have time to take a look at this until the weekend. I'd be happy to review a fix if you'd like to prepare one. |
@wmark: sadly, I won't have time any time soon to get to this... |
Anyway, thanks for having looked into this. Perhaps someone else finds this and wants to pick it up. |
Oh. This is due to the lack of time.Time type support. That is, bambam doesn't claim to have time.Time support currently. |
bambam translates this struct…:
To the following, assigning capid=3 twice:
I have expected that it continued numbering, and assigned capid=7 to the last field.
Annotating the field with capid=7 will result in this error and no usable file output:
Although not required in this example, the order of fields in a struct is important: If every member of a struct is comparable, then the struct becomes comparable. In that case you don't want to reorder fields to suit bambam.
The text was updated successfully, but these errors were encountered: