Repository navigation
chore(deps): update dependency imposter to 0.2.11 - #7023
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 The updated package is available to CI, and no concrete build or runtime regression from this version change is established. Pre-merge checks |
|
|
This PR contains the following updates:
0.2.10→0.2.11Release Notes
themidnightgospel/Imposter (Imposter)
v0.2.11: Type parameters that allow ref structs, and generic overloadsCompare Source
Features
where T : allows ref struct(C# 13) no longer reports IMP009. A value ofTmay be aref struct, so the imposter passes it through, whatever the type argument:imposter.Measure<Gauge>(Arg<int>.Any()).Returns((value, scale) => value.Level * scale).Returns,CallbackandThrows, and the base implementation, get the value. A result of typeTcomes only from aReturnsdelegate or the base implementation.This completes #201. Still IMP009, and documented in Limitations:
in;inorref readonlykey and a base getter;Fixes
void Use()next tovoid Use<T>()got numbered setups, soimposter.Use<int>()didn't compile; it had to beimposter.Use_1<int>(). Such overloads now keep their names.Use<T>(T)andUse<U>(U), or a method hiding an inherited one under another type parameter name, failed with CS0111. They're now set up apart, through their interfaces' setup views.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