Potential behaviour regression with named formatting arguments #372
Labels
No labels
bug
duplicate
easy
enhancement
help wanted
invalid
question
rfc
structured-logging
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
gh-rust-lang/log#372
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Current release version
0.4.10seems to have introduced a regression in behaviour in the sense that named formatting arguments, which were legal in the previous versions, are now illegal.Minimal example:
Is this intended behaviour or a bug?
NB, works with the previous release
0.4.8.This is quite broken. 0.4.8 works, newer version broken. Format args do not work and cause build errors.
@KodrAus or @sfackler Maybe .10 should be yanked? I have the same issue.
@estk agree that 0.4.10 should be yanked.
Yanked.
Ok. It looks like we just haven’t built up the CI coverage yet to be able to make changes to the
logmacros without breaking things. I’ll add some more cases, revert our implementation back to what it was (but retain #366) and we can explore macro changes externally.masterhas been updated to use the old macro implementation and we've got a failing test on thekv_macrobranch the new one lives on to track this. Any new releases we push out now will be using the same macros as0.4.8.I'll go ahead and close this one now. Thanks for the report!