Repository navigation
chore(deps): update dependency imposter to 0.2.8 - #7020
Conversation
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info
📝 Walkthrough
Merge Risk: ⚪ Minimal · up to This change only updates the central Imposter package pin; the existing consumer remains configured through that pin, and no required migration was identified. No actionable merge-blocking risk remains. Pre-merge checks |
|
|
This PR contains the following updates:
0.2.7→0.2.8Release Notes
themidnightgospel/Imposter (Imposter)
v0.2.8: Scoped span members, ref/out and async event spans, ref/out event argumentsCompare Source
Features
scopedparameter that return a span or take one byreforout(#281, part of #201). These no longer report IMP009. The same goes for aparamsspan, which is scoped implicitly, and for an indexer with a span value and ascopedorparamskey. Generated code repeatsscopedwherever it declares the parameter again. C# doesn't inferscopedfor a lambda that leaves out its parameter types, so a lambda passed toReturnsfor such a member declares them:.Returns((scoped ReadOnlySpan<char> text) => ...).reforout, and spans of async events (#285, part of #201).Raisepasses areforoutspan by reference. For an async delegate,RaiseAsynctakes the array the span covers, and the handlers get a span over it.Still IMP009 (see Limitations): custom
ref structs, type parameters that allow ref structs, a span returned by reference, and a span an async event's delegate takes byref,outorref readonly.Fixes
reforoutparameter (#284, closes #282). Their imposters compile now. A handler's change to arefargument reaches the raiser, and anoutargument starts as the default.Internal
The generator's code was reorganised without changing what it generates:
EnsureConfigured, verification and constructor builders are shared (#279, closes #231);Configuration
📅 Schedule: (UTC)
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate CLI.
Summary by CodeRabbit